Commit Graph

2203 Commits

Author SHA1 Message Date
rob1n
e191edb9ca 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: https://develop.svn.wordpress.org/trunk@5393 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 23:27:12 +00:00
Ryan Boren
18bb3b4811 Set eol-style
git-svn-id: https://develop.svn.wordpress.org/trunk@5390 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 21:28:50 +00:00
rob1n
7929eca3cc Don't take out class attribute for <abbr />, for hReview. fixes #3420
git-svn-id: https://develop.svn.wordpress.org/trunk@5383 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 03:52:11 +00:00
Ryan Boren
7c61a32074 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5381 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 02:23:49 +00:00
rob1n
c30d0f3c57 Load order fixed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5377 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:52:14 +00:00
rob1n
e6ab5d6f99 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: https://develop.svn.wordpress.org/trunk@5376 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-03 00:43:57 +00:00
rob1n
d03a237b24 Add lang and xml:lang attributes to allowed list for p, div and blockquote. fixes #4128
git-svn-id: https://develop.svn.wordpress.org/trunk@5375 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:31:30 +00:00
rob1n
ae87af4ce8 Spring cleaning, extreme edition.
git-svn-id: https://develop.svn.wordpress.org/trunk@5374 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:26:57 +00:00
rob1n
00c7a213a0 Clean that mess up so it's more easily managed.
git-svn-id: https://develop.svn.wordpress.org/trunk@5373 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 04:17:43 +00:00
Ryan Boren
9414b0a110 Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5370 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-02 00:32:22 +00:00
Ryan Boren
4b4d4d9bb5 Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@5366 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 22:51:52 +00:00
rob1n
0cf5f8cf12 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:58:18 +00:00
rob1n
3f99d19cc3 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5362 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:27:46 +00:00
rob1n
697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
Ryan Boren
9b87344634 Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5358 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 20:02:02 +00:00
Ryan Boren
3c6b689f0e 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: https://develop.svn.wordpress.org/trunk@5356 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 17:43:11 +00:00
Ryan Boren
176a6414e9 Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: https://develop.svn.wordpress.org/trunk@5354 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 16:45:23 +00:00
Ryan Boren
1eb7a5f1e5 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@5351 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 03:47:14 +00:00
Ryan Boren
77fb496bc6 Don't use deprecated category API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5349 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 03:32:33 +00:00
rob1n
fdc3ca298c Bring back old behavior for sidebar ID's. Props filosofo. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5348 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 02:35:28 +00:00
Ryan Boren
97bf7944c2 Fix widget control registration where id is not passed in.
git-svn-id: https://develop.svn.wordpress.org/trunk@5341 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 17:04:16 +00:00
Ryan Boren
386eb41adf Fix edit comment links
git-svn-id: https://develop.svn.wordpress.org/trunk@5340 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 16:45:47 +00:00
Ryan Boren
af32dce26a Create widget id from widget name when id not specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@5338 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 06:08:27 +00:00
Ryan Boren
f6f5f61311 Kick widgets init from init hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@5336 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 00:35:47 +00:00
Ryan Boren
91e1cb92ec Some widgets gettext.
git-svn-id: https://develop.svn.wordpress.org/trunk@5334 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 00:29:27 +00:00
rob1n
510a57a763 Don't double encode gzip output if gzip is already set in php.ini. Props
welcomb. fixes #4205


git-svn-id: https://develop.svn.wordpress.org/trunk@5333 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 20:55:05 +00:00
Ryan Boren
d9f2285155 Use the right field name ya idjit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5329 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 04:34:44 +00:00
Ryan Boren
b9b37cd426 Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@5328 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 03:51:36 +00:00
Ryan Boren
004f9d7d27 Fix text and rss widget registration. fixes #4204 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5320 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:49:11 +00:00
Ryan Boren
09d31c8edb Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: https://develop.svn.wordpress.org/trunk@5319 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:17:30 +00:00
rob1n
2d6c38c7cf Links widget fixes from Otto42. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5317 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 03:43:59 +00:00
rob1n
7a6aba312d 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: https://develop.svn.wordpress.org/trunk@5316 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:13:18 +00:00
rob1n
7a30348f90 Firefox uses Alt+Shift for access keys. Props johnbillion. fixes #4193
git-svn-id: https://develop.svn.wordpress.org/trunk@5315 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:02:59 +00:00
rob1n
b724739d74 Housekeeping -- a misspelling.
git-svn-id: https://develop.svn.wordpress.org/trunk@5312 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 03:14:11 +00:00
rob1n
a40b296021 Allow number_format to be internationalized. Props nbachiyski. fixes #3677
git-svn-id: https://develop.svn.wordpress.org/trunk@5308 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 00:49:57 +00:00
rob1n
2b3f6e3070 Housekeeping -- clean out debug calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@5307 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:58:51 +00:00
rob1n
69e811bb7c Add ODT to allowed file types. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5304 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:28:39 +00:00
rob1n
215dca2430 Add unfiltered_upload cap, and allow for admins. Props Nazgul. fixes #4136
git-svn-id: https://develop.svn.wordpress.org/trunk@5303 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:27:20 +00:00
rob1n
b0e84dde88 get_edit_*_link() functions. fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5302 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:21:56 +00:00
Ryan Boren
78226c0f85 Update widgets to latest bits. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5301 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 21:36:17 +00:00
Ryan Boren
774a35bbec widgets.php be doubling down. Once is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@5300 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 18:41:42 +00:00
rob1n
ffc63c60e3 Widgets for 2.3. fixes #4186
git-svn-id: https://develop.svn.wordpress.org/trunk@5297 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 01:05:17 +00:00
Ryan Boren
01dad3491e Fix variable collission in _get_cat_children. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5295 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-23 20:28:38 +00:00
rob1n
7aca30b768 has_excerpt() template tag. fixes #4177 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5293 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-22 04:25:47 +00:00
Ryan Boren
c883733d72 2.3-alpha
git-svn-id: https://develop.svn.wordpress.org/trunk@5288 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 04:05:39 +00:00
rob1n
baff4f7040 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: https://develop.svn.wordpress.org/trunk@5285 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:53:19 +00:00
rob1n
642b38246b Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: https://develop.svn.wordpress.org/trunk@5284 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:49:19 +00:00
Ryan Boren
e2094a4e19 Add url_to_postid filter. Props Alex King. fixes #4160
git-svn-id: https://develop.svn.wordpress.org/trunk@5283 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-18 22:51:54 +00:00
Ryan Boren
b749fb0711 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5282 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 23:00:35 +00:00
Ryan Boren
c20fd94dce AJAXcat fixes and FF workaround from mdawaffe. fixes #3895
git-svn-id: https://develop.svn.wordpress.org/trunk@5280 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 20:56:41 +00:00