Commit Graph

2224 Commits

Author SHA1 Message Date
rob1n 6508eb9d47 Don't call the function if it doesn't exist yet. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5455 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 16:24:17 +00:00
rob1n 031cf54afe Bring get_pagenum_link() into this century. Props Mark Jaquith. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5454 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 00:17:34 +00:00
rob1n 90dc5682f3 git-svn-id: https://develop.svn.wordpress.org/trunk@5451 602fd350-edb4-49c9-b593-d223f7449a82 2007-05-11 04:02:30 +00:00
rob1n e6c570e45e Ugh. I thought I had fixed all of these.
git-svn-id: https://develop.svn.wordpress.org/trunk@5450 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 04:01:54 +00:00
rob1n c9fc18c591 Filter get_theme_data() data through KSES to get rid of evil XSS things. fixes #4236
git-svn-id: https://develop.svn.wordpress.org/trunk@5447 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:44:03 +00:00
rob1n 3deb0fe500 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: https://develop.svn.wordpress.org/trunk@5446 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:34:50 +00:00
rob1n c213997f48 Use wp_parse_args(). fixes #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
Ryan Boren 90cd098abe Escapage
git-svn-id: https://develop.svn.wordpress.org/trunk@5441 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 00:56:12 +00:00
Ryan Boren 7073026058 Add missing preg delimiter. see #4241
git-svn-id: https://develop.svn.wordpress.org/trunk@5433 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 16:37:44 +00:00
rob1n d679f06b33 Show WP-Adv TinyMCE button by default. Props johnbillion. fixes #3171
git-svn-id: https://develop.svn.wordpress.org/trunk@5429 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:42:00 +00:00
rob1n 222bb819b7 Don't discard non-default args in wp_parse_args(). see #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5428 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 02:33:01 +00:00
rob1n 9abc3c9374 Let WebKit 420 or above get in. And clean up that overgrown ternary. Props Andy. fixes #4241
git-svn-id: https://develop.svn.wordpress.org/trunk@5425 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 01:31:12 +00:00
rob1n ea71ef4d71 Don't add port if port == 80 (default port). fixes #3993
git-svn-id: https://develop.svn.wordpress.org/trunk@5424 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 01:26:56 +00:00
Ryan Boren d213ecdab4 Obey show_post_count for dropdown.
git-svn-id: https://develop.svn.wordpress.org/trunk@5421 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 21:54:30 +00:00
rob1n 13d4d782a5 Bit of clean-up.
git-svn-id: https://develop.svn.wordpress.org/trunk@5415 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 04:19:19 +00:00
Ryan Boren 23018b434d Make sure wp_actions is set before counting.
git-svn-id: https://develop.svn.wordpress.org/trunk@5413 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-08 17:59:52 +00:00
Ryan Boren 3ae3baa8ff Don't send header from wp_die() if admin header already sent. fixes #4234 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5411 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:24:44 +00:00
Ryan Boren 622bc51507 Fix did_action to properly account for actions that have no callbacks attached.
git-svn-id: https://develop.svn.wordpress.org/trunk@5409 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 23:22:50 +00:00
Ryan Boren 7c1f56b9b7 attribute_escape for widgets. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5403 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 02:16:28 +00:00
Ryan Boren e83f137798 Make sure Widgets menu comes after Themes. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5401 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 20:36:11 +00:00
Ryan Boren 0568d96794 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5399 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 07:08:11 +00:00
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