Commit Graph

2349 Commits

Author SHA1 Message Date
Ryan Boren 0bc2a4b956 Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5521 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 03:57:20 +00:00
rob1n a24222a0f0 Run it through the filter. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5519 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 22:36:56 +00:00
Ryan Boren d575d01059 Remove the_content filter from widget text. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5518 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 21:32:07 +00:00
Ryan Boren 9aa94b995b Fix primary key on term_relationships. Add wp_set_object_terms(). Setting post tags working now. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5515 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 20:39:26 +00:00
Ryan Boren 523a3724bb Very rough initial commit of taxonomy for everyone's hacking pleasure. There be dragons. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5510 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 05:12:38 +00:00
rob1n d0c8498d66 Don't show title if user leaves it blank. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5509 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 00:25:44 +00:00
rob1n 62c94190fb Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308
git-svn-id: https://develop.svn.wordpress.org/trunk@5507 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 22:50:32 +00:00
Ryan Boren 137da349c3 Fix theme template field. fixes #4310 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5506 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 20:11:53 +00:00
Ryan Boren e50ab910fb Check if is_array before unsetting array index. fixes #4306 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5501 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 16:39:08 +00:00
rob1n d713e47401 Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: https://develop.svn.wordpress.org/trunk@5499 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 13:13:22 +00:00
rob1n 1a25ba4bdb Fix wp-ajax.js addArg's hashes. Props technosailor. fixes #4277
git-svn-id: https://develop.svn.wordpress.org/trunk@5498 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 12:56:39 +00:00
rob1n ac98122657 Check for switch_themes, not edit_themes. Props Denis de Bernardy. fixes #4292
git-svn-id: https://develop.svn.wordpress.org/trunk@5492 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:38:51 +00:00
rob1n 2a8574bd7b Select the option if it's set to that. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5490 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:26:02 +00:00
Ryan Boren 986653124a Fix tinymce colorpicker. Props azaozz. fixes #4188 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5487 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 00:10:24 +00:00
rob1n aec72baa24 Texturize and autop the text widgets, and allow pages to be sorted by a specified field. Props Denis de Bernardy. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5486 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-18 02:29:11 +00:00
Ryan Boren 3e813379d0 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5485 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:49:32 +00:00
rob1n ab415652d9 Fix some attribute misnamings. Props Erunafailaro. fixes #4274
git-svn-id: https://develop.svn.wordpress.org/trunk@5483 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:37:55 +00:00
rob1n 97209ba734 Update Prototype to 1.5.1 and script.aculo.us to 1.7.1-b2. Props zamoose. fixes #4265
git-svn-id: https://develop.svn.wordpress.org/trunk@5482 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 03:27:07 +00:00
rob1n 5357b1a0af Fix get_pagenum_link(). fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5481 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 02:47:24 +00:00
Ryan Boren 2b002dfab6 Theme screenshot fix from mdawaffe. fixes #4266 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5476 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 23:30:17 +00:00
Ryan Boren 25e659472d Allow sidebar names to be passed to dynamic_sidebar(). fixes #4258 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5474 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 05:13:39 +00:00
Ryan Boren fb8a712fdb Flush all output buffers during shutdown to avoid PHP 5 bustage. see #3354
git-svn-id: https://develop.svn.wordpress.org/trunk@5462 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 22:06:31 +00:00
Ryan Boren d9da4028a2 Return proper protocol. fixes #3886 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5460 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 21:55:14 +00:00
rob1n 9688bcaff3 Seeing double. Good spot momo360modena. fixes #4251 for 2.1, 2.2 and 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5459 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 19:47:47 +00:00
rob1n 0aa8cebe86 Don't make useless status_header() call. fixes #4249
git-svn-id: https://develop.svn.wordpress.org/trunk@5458 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 19:30:38 +00:00
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
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
rob1n e111d2de08 Fix another typo. Not a good day at all.
git-svn-id: https://develop.svn.wordpress.org/trunk@5277 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 01:17:45 +00:00
rob1n 8e63dcecfa Fix typo. Thanks Lloyd.
git-svn-id: https://develop.svn.wordpress.org/trunk@5276 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 00:53:58 +00:00
rob1n 734766ba6e Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5275 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 23:53:34 +00:00
Ryan Boren 66d8f40564 Use wp_hash to create cron's check hash.
git-svn-id: https://develop.svn.wordpress.org/trunk@5274 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 20:47:23 +00:00
Ryan Boren 424a7906c0 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5271 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-15 02:26:26 +00:00
rob1n 8c25d341d9 Add in another trim(), just in case $frag is actually something.
git-svn-id: https://develop.svn.wordpress.org/trunk@5269 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:19:01 +00:00
rob1n 6d905c3341 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: https://develop.svn.wordpress.org/trunk@5267 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-14 00:11:47 +00:00
rob1n 447554f758 Fix gettext's plural forms for more than 2 plural forms. Props moeffju and nbachiyski. fixes #4005
git-svn-id: https://develop.svn.wordpress.org/trunk@5266 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:29:47 +00:00
rob1n 9548071ffa Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: https://develop.svn.wordpress.org/trunk@5265 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-13 23:20:14 +00:00
rob1n 2e5f0e8bde Don't treat object and param as block elements in wpautop. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5262 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 23:19:16 +00:00
rob1n eac89c8fdd Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5261 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 22:00:22 +00:00
rob1n b88e6b40d8 Replace some stristr's with stripos'.
git-svn-id: https://develop.svn.wordpress.org/trunk@5260 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:59:31 +00:00
Ryan Boren 3b2de5b5df Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
git-svn-id: https://develop.svn.wordpress.org/trunk@5258 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:15:44 +00:00
rob1n 49768a3192 Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788
git-svn-id: https://develop.svn.wordpress.org/trunk@5256 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 17:04:03 +00:00
rob1n 3c8cb11aee Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
git-svn-id: https://develop.svn.wordpress.org/trunk@5255 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 16:31:47 +00:00
Ryan Boren d8c8ecb711 Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
rob1n f8680b6c3a <!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: https://develop.svn.wordpress.org/trunk@5244 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 22:47:36 +00:00
Ryan Boren 73feece365 Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5243 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 18:04:49 +00:00
rob1n 0fced13a94 Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
git-svn-id: https://develop.svn.wordpress.org/trunk@5242 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 16:52:58 +00:00
rob1n 95918aee5d Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
git-svn-id: https://develop.svn.wordpress.org/trunk@5241 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 05:38:30 +00:00
rob1n 5327a547db Rollback wonky part of [5193]. see #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5240 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:41:42 +00:00
rob1n 9dcdbbd7ae Tweak displaying comments awaiting moderation to their authors. Props wnorris. fixes #4108
git-svn-id: https://develop.svn.wordpress.org/trunk@5238 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 03:12:11 +00:00
rob1n c014b4d5fe Run make_clickable before texturize. Props Nazgul. fixes #4116
git-svn-id: https://develop.svn.wordpress.org/trunk@5236 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 23:21:00 +00:00
Ryan Boren 513726b6c7 Change get_the_tags() to return an array of tags. Move tag list code to the_tags(). fixes #4123
git-svn-id: https://develop.svn.wordpress.org/trunk@5235 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 21:23:11 +00:00
Ryan Boren e075553eba Tag clouds from mdawaffe. fixes #4129
git-svn-id: https://develop.svn.wordpress.org/trunk@5234 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:52:15 +00:00
Ryan Boren f9dbc69605 Bumpage
git-svn-id: https://develop.svn.wordpress.org/trunk@5233 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 19:08:49 +00:00
Ryan Boren b5bb5e3ee6 Add get_tags(). See #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5232 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:55:51 +00:00
Ryan Boren 4f59c037ce s/get_post_tags/wp_get_post_tags/ to match the rest of the API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5231 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 18:30:55 +00:00
rob1n b88969be23 Bump jQuery and Interface versions in script loader. Props Viper007Bond. fixes #4124
git-svn-id: https://develop.svn.wordpress.org/trunk@5230 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 17:01:52 +00:00
Matt Mullenweg 4c1d1977b7 Missing change from last commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@5227 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 07:39:47 +00:00
rob1n c4c416ce62 empty() only takes variables. Props filosofo. fixes #4118
git-svn-id: https://develop.svn.wordpress.org/trunk@5224 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 04:28:40 +00:00
rob1n f2216ff99f Don't autop <script> blocks. Props Nazgul. fixes #3854
git-svn-id: https://develop.svn.wordpress.org/trunk@5223 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:49:18 +00:00
rob1n 537e017277 Don't autop <hr />. fixes #3952
git-svn-id: https://develop.svn.wordpress.org/trunk@5222 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-10 00:47:08 +00:00
rob1n 087a36b357 Default to 'en' for TinyMCE language if get_locale() is empty, to avoid meltdowns. Props m0n5t3r. fixes #4118
git-svn-id: https://develop.svn.wordpress.org/trunk@5220 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 16:33:43 +00:00
Ryan Boren ab74cb7a60 Google spell connect fix. Props Nazgul. see #3857
git-svn-id: https://develop.svn.wordpress.org/trunk@5214 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-09 00:09:42 +00:00
rob1n 995ac94ed7 Fix typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5212 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:31:54 +00:00
rob1n e4620977f5 Add wp_add_post_tags() and $append variable for wp_set_post_tags(). fixes #4109
git-svn-id: https://develop.svn.wordpress.org/trunk@5209 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 19:00:19 +00:00
Ryan Boren c113ddaa1f Avoid php notices.
git-svn-id: https://develop.svn.wordpress.org/trunk@5202 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 05:24:37 +00:00
rob1n 2ea44df759 Move the stripslashes(), and change it to stripslashes_deep(). Props mdawaffe. fixes #4105
git-svn-id: https://develop.svn.wordpress.org/trunk@5200 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 01:24:40 +00:00
rob1n 2e64f813ec Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
git-svn-id: https://develop.svn.wordpress.org/trunk@5199 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 23:42:38 +00:00
Ryan Boren cfb13d7bcf Relocate get_post_tags.
git-svn-id: https://develop.svn.wordpress.org/trunk@5197 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 18:22:54 +00:00
Ryan Boren 214141d62a Typo
git-svn-id: https://develop.svn.wordpress.org/trunk@5196 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:53:34 +00:00
Ryan Boren f01644b6c6 Pass link indentifier to mymysql_affected_rows(). Props Doug Kaye.
git-svn-id: https://develop.svn.wordpress.org/trunk@5195 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 17:22:53 +00:00
rob1n 993b6f231c Add AND. fixes #4101
git-svn-id: https://develop.svn.wordpress.org/trunk@5194 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 14:53:46 +00:00
rob1n 627cf79932 Re-encode query values after passed to add_query_arg(). Props mdawaffe. fixes #4084
git-svn-id: https://develop.svn.wordpress.org/trunk@5193 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 04:21:21 +00:00
rob1n 1bc2123ca5 Add the argument back in. Whoops.
git-svn-id: https://develop.svn.wordpress.org/trunk@5192 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:34:01 +00:00
rob1n 4a16bf61be Add private posts to get_usernumposts() when the current_user_can read_private_posts. Props molecularbear. fixes #3868
git-svn-id: https://develop.svn.wordpress.org/trunk@5190 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:29:44 +00:00
rob1n 7e8754bbd8 Add a function to unify private posts SQL based on capabilities -- get_private_posts_cap_sql().
Usage: get_private_posts_cap_sql($type), where $type is either 'post' or 'page'.

Props molecularbear. fixes #3861


git-svn-id: https://develop.svn.wordpress.org/trunk@5189 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 03:25:41 +00:00
rob1n 28066a110c Add stripos() for compatibility for PHP < 5. This will be needed for a patch later, I think.
git-svn-id: https://develop.svn.wordpress.org/trunk@5187 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 02:54:12 +00:00
rob1n 335777c369 Add DBX to link-add.php. Props Nazgul. fixes #3922
git-svn-id: https://develop.svn.wordpress.org/trunk@5186 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 00:56:28 +00:00
Ryan Boren 8a8e57b000 Bit twiddling. Add type bitfield to categories table. see #3723
git-svn-id: https://develop.svn.wordpress.org/trunk@5184 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-05 21:16:02 +00:00
Ryan Boren c81341f3ee Category listing speedups. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5179 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 22:32:24 +00:00
Ryan Boren 93cdc6deac Cache category hierarchy to make cat listing faster. Phase 1. see #3985
git-svn-id: https://develop.svn.wordpress.org/trunk@5178 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-04 20:44:45 +00:00
Mark Jaquith aa82383dc6 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: https://develop.svn.wordpress.org/trunk@5171 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 19:40:15 +00:00