Commit Graph

2210 Commits

Author SHA1 Message Date
rob1n 1e30a12eb5 Bit of clean-up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 04:19:19 +00:00
ryan 627725be1a Make sure wp_actions is set before counting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-08 17:59:52 +00:00
ryan bbad336b10 Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 23:24:44 +00:00
ryan 481e505d49 Fix did_action to properly account for actions that have no callbacks attached.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 23:22:50 +00:00
ryan 9b1b9b2084 attribute_escape for widgets. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 02:16:28 +00:00
ryan 9805be9f11 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 20:36:11 +00:00
ryan 23b99491a2 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 07:08:11 +00:00
rob1n 8638b7ab3a Return based on whether the hook was removed or not. Props mdawaffe. fixes #4223
Note that this will almost definitely *not* affect existing implementations. The way most code is set up now is to just call remove_filter() or remove_action().


git-svn-id: http://svn.automattic.com/wordpress/trunk@5393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 23:27:12 +00:00
ryan b33a7e9cfb Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 21:28:50 +00:00
rob1n 0a8b69c947 Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: http://svn.automattic.com/wordpress/trunk@5383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 03:52:11 +00:00
ryan 2cc75dbc63 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 02:23:49 +00:00
rob1n f8b2a63e57 Load order fixed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:52:14 +00:00
rob1n ab530a67d5 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: http://svn.automattic.com/wordpress/trunk@5376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:43:57 +00:00
rob1n 2fff1e5671 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: http://svn.automattic.com/wordpress/trunk@5375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:31:30 +00:00
rob1n 37745efcae Spring cleaning, extreme edition.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:26:57 +00:00
rob1n e5fb2523b4 Clean that mess up so it's more easily managed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 04:17:43 +00:00
ryan 9e54a128b8 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 00:32:22 +00:00
ryan b159bcacff Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 22:51:52 +00:00
rob1n b21f9bdc98 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:58:18 +00:00
rob1n 5339481434 Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:27:46 +00:00
rob1n 58d8ed1284 Move widget stuff around. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:13:06 +00:00
ryan 72a19935ff Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 20:02:02 +00:00
ryan 8efa935340 When using the traditional list view of the categories,
make sure the wp_list_categories() doesn't add in another title. This
was causing a second Categories to show up on the category widget.  Props Jospeh Scott

git-svn-id: http://svn.automattic.com/wordpress/trunk@5356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 17:43:11 +00:00
ryan 6c0b1d6a5f Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 16:45:23 +00:00
ryan 247d22682a Remove debug
git-svn-id: http://svn.automattic.com/wordpress/trunk@5351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:47:14 +00:00
ryan 5fe0bd0c61 Don't use deprecated category API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:32:33 +00:00
rob1n a50e0e4c41 Bring back old behavior for sidebar ID's. Props filosofo. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 02:35:28 +00:00
ryan df9d590cbc Fix widget control registration where id is not passed in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 17:04:16 +00:00
ryan e5ea802c0c Fix edit comment links
git-svn-id: http://svn.automattic.com/wordpress/trunk@5340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 16:45:47 +00:00
ryan 72f35d050c Create widget id from widget name when id not specified.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 06:08:27 +00:00
ryan a59fcf3c3a Kick widgets init from init hook.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:35:47 +00:00
ryan b028d6eaa3 Some widgets gettext.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:29:27 +00:00
rob1n 638337cf4a Don't double encode gzip output if gzip is already set in php.ini. Props
welcomb. fixes #4205


git-svn-id: http://svn.automattic.com/wordpress/trunk@5333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 20:55:05 +00:00
ryan 8aaa48e041 Use the right field name ya idjit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 04:34:44 +00:00
ryan d44752d2ca Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 03:51:36 +00:00
ryan cb6d5b0c4b Fix text and rss widget registration. fixes #4204 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:49:11 +00:00
ryan 6a307367a8 Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@5319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:17:30 +00:00
rob1n 85902939a7 Links widget fixes from Otto42. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 03:43:59 +00:00
rob1n 309491de6d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: http://svn.automattic.com/wordpress/trunk@5316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:13:18 +00:00
rob1n 2a03779965 Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193
git-svn-id: http://svn.automattic.com/wordpress/trunk@5315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:02:59 +00:00
rob1n 1657ad3db3 Housekeeping -- a misspelling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 03:14:11 +00:00
rob1n d3f52c3b45 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: http://svn.automattic.com/wordpress/trunk@5308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 00:49:57 +00:00
rob1n 56add54053 Housekeeping -- clean out debug calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:58:51 +00:00
rob1n 559fa91b8d Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: http://svn.automattic.com/wordpress/trunk@5304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:28:39 +00:00
rob1n ea9d389751 Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
git-svn-id: http://svn.automattic.com/wordpress/trunk@5303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:27:20 +00:00
rob1n 534eeaf7bc get_edit_*_link() functions. fixes #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:21:56 +00:00
ryan c03e74ab48 Update widgets to latest bits. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 21:36:17 +00:00
ryan a0985c387b widgets.php be doubling down. Once is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 18:41:42 +00:00
rob1n 03e6c2ed9a Widgets for 2.3. fixes #4186
git-svn-id: http://svn.automattic.com/wordpress/trunk@5297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 01:05:17 +00:00
ryan c28054301c Fix variable collission in _get_cat_children. see #3985
git-svn-id: http://svn.automattic.com/wordpress/trunk@5295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-23 20:28:38 +00:00