Commit Graph

8076 Commits

Author SHA1 Message Date
Mark Jaquith 55e0256967 esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
Andrew Nacin b9b0431d29 get_tag_link and get_category_link can also return WP_Error. fixes #15449.
git-svn-id: https://develop.svn.wordpress.org/trunk@16430 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:10:50 +00:00
scribu 5705b3ca9c Differentiate between localized and raw total pages. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16429 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:03:27 +00:00
Mark Jaquith 49b8323bad The path goes INSIDE home_url(). fixes #15413
git-svn-id: https://develop.svn.wordpress.org/trunk@16425 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:38:28 +00:00
Ryan Boren 81ae3cb21e Register the default theme dir in wp-settings.php so that it is registered even when get_themes() doesn't run. Fix counting of theme dirs. Add option to get_raw_theme_root() to disregard the current theme root cache. see #14911
git-svn-id: https://develop.svn.wordpress.org/trunk@16424 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:11:44 +00:00
scribu 3e01f9a81d Fix ambiguous column error. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16423 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 12:33:32 +00:00
Andrew Nacin b0abda23b6 Don't check post_type_supports in map_meta_cap. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16422 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 06:21:34 +00:00
Andrew Nacin 8fe83c252a Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16419 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:52:01 +00:00
Andrew Nacin 5c5d36c422 Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770.
git-svn-id: https://develop.svn.wordpress.org/trunk@16415 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 03:30:27 +00:00
scribu 1298668d9a Re-introduce ->tax_query as a read-only var. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16414 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 02:04:08 +00:00
scribu 92fae02550 Optimize get_tax_sql(). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16413 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 01:56:01 +00:00
scribu 26f88f4b0f Deprecate update_category_cache(). Fixes #15446
git-svn-id: https://develop.svn.wordpress.org/trunk@16412 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:56:00 +00:00
Andrew Nacin 3b115a7ec5 Fix arin whois link. props ozh. @todo consider its removal. see #15281.
git-svn-id: https://develop.svn.wordpress.org/trunk@16411 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:54:22 +00:00
scribu a4cd0df78c Minor get_meta_sql() cleanup. See #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@16410 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:27:34 +00:00
Andrew Nacin 32069ead9d Revert changes to wptexturize() until test cases pass. Reverts [16280], [16378]. see #4539 and #15241.
git-svn-id: https://develop.svn.wordpress.org/trunk@16409 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:18:48 +00:00
Andrew Nacin e8ea01b4dc More updates to post.js. see [16248].
git-svn-id: https://develop.svn.wordpress.org/trunk@16408 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:13:17 +00:00
Andrew Nacin fde451647a Improve internal linking river feedback. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16407 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 18:30:34 +00:00
Andrew Ozz 9691518b51 Revert the TinyMCE spellchecker to its old behaviour, update to tinymce_spellchecker_php_2_0_3, fixes #15268
git-svn-id: https://develop.svn.wordpress.org/trunk@16405 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 17:30:18 +00:00
scribu 9242c290b3 Revert [16402] outright. Causes issues with themes. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16404 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:36:20 +00:00
scribu 373717aeba Revert taxonomy.php part of [16402]. Not fully backed yet. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16403 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:24:14 +00:00
scribu 93b63b771c Don't pollute the 'tax_query' query var. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16402 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:22:09 +00:00
Andrew Nacin 6dacb11d46 Use user_trailingslashit in get_author_posts_url(). fixes #15441.
git-svn-id: https://develop.svn.wordpress.org/trunk@16401 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:09:46 +00:00
scribu 43a3b3b65d Update some @since tags. Props demetris. Fixes #15438
git-svn-id: https://develop.svn.wordpress.org/trunk@16400 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 13:16:13 +00:00
Andrew Nacin 6183d245f9 Internal linking functionality updates. Scrap pagination for a river of results. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16399 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 05:11:41 +00:00
Andrew Nacin 7851debeae Internal linking UI updates. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16398 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 04:25:14 +00:00
Ryan Boren 4a3b49bb5d Minify wplink js. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16397 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 01:21:18 +00:00
Andrew Nacin 8de3626c6e Bump wplink version. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16396 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 00:47:22 +00:00
Andrew Nacin 55f599d330 Properly force variable to an array. props Viper007Bond, fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16395 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 00:19:51 +00:00
Andrew Ozz 348236aeb7 Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
git-svn-id: https://develop.svn.wordpress.org/trunk@16394 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:57:27 +00:00
Andrew Nacin f5dea49c4a Next pass on internal linking. Functional, but needs styling. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16393 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:48:24 +00:00
Nikolay Bachiyski 77254fc657 Fallback to only RTL attributes in wp_die()'s HTML tag if it's very early in the execution. Fixes #6132. Props RanYanivHartstein and nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16392 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 20:13:05 +00:00
Ryan Boren 72faeb1d34 Minify wplink js. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16391 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:42:49 +00:00
Ryan Boren 48e057af81 Auto focus URL field. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16390 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:40:34 +00:00
Andrew Nacin 76a7d50069 Sanity cast. see #15192.
git-svn-id: https://develop.svn.wordpress.org/trunk@16389 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:06:57 +00:00
Andrew Nacin 0b7f397e9b set_post_thumbnail(). fixes #15192.
git-svn-id: https://develop.svn.wordpress.org/trunk@16388 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:59:25 +00:00
Andrew Nacin 682b6a20b2 capability_type = page and no custom caps should also kick on map_meta_cap. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16387 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:11:34 +00:00
scribu ecad0a9016 Revert [16384]. See #15433
git-svn-id: https://develop.svn.wordpress.org/trunk@16385 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 15:23:04 +00:00
scribu 4c4e5ed0df Ignore 'name' qv if 'p' qv is set. Fixes #15433
git-svn-id: https://develop.svn.wordpress.org/trunk@16384 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 13:33:16 +00:00
scribu 688dda0b1d Fix get_tax_sql() docs. Props Viper007Bond. Fixes #15431
git-svn-id: https://develop.svn.wordpress.org/trunk@16382 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 11:24:55 +00:00
scribu e72a75d2d6 Set 'taxonomy' and 'term' query vars for back-compat. Fixes #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@16381 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 10:51:39 +00:00
scribu ed4788b696 Re-parse tax query just before calling get_tax_sql(). Fixes #15161
git-svn-id: https://develop.svn.wordpress.org/trunk@16380 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 10:11:25 +00:00
scribu 3d5162ecc3 Better error handling in get_meta_sql(). Props Viper007Bond. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16379 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 10:02:39 +00:00
Peter Westwood 9b80ab8ce5 Fix regression in wptexturize with single quotes when used for contraction. See #15241 props norbertm.
git-svn-id: https://develop.svn.wordpress.org/trunk@16378 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 08:52:36 +00:00
Andrew Nacin 8d9b2cd2b3 Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: https://develop.svn.wordpress.org/trunk@16377 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 06:38:10 +00:00
scribu a6568c3de8 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: https://develop.svn.wordpress.org/trunk@16375 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 20:28:55 +00:00
scribu 2b895dda71 Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: https://develop.svn.wordpress.org/trunk@16368 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:00:09 +00:00
scribu 32b416f959 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
scribu cd7d748a0e Fix empty query vars being passed as 'true' instead of ''. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16363 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 00:48:30 +00:00
scribu c38380fd8f Update doc for WP_Query::post. Fixes #15105
git-svn-id: https://develop.svn.wordpress.org/trunk@16360 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:32:18 +00:00
scribu cf7f2d92b4 Use wp_start_object_cache() in switch_to_blog(). Props prettyboymp. Fixes #15361
git-svn-id: https://develop.svn.wordpress.org/trunk@16359 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 23:11:50 +00:00
scribu 3d1e3fc25f Add colon after Upload/Insert. Fixes #14810
git-svn-id: https://develop.svn.wordpress.org/trunk@16358 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 22:52:51 +00:00
scribu 9967d9da2a Always apply comment_text filter in check_comment(). Props hakre. Fixes #14680
git-svn-id: https://develop.svn.wordpress.org/trunk@16357 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 22:30:36 +00:00
scribu a8160ed916 Kill WP_Object_Query. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16353 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 18:32:43 +00:00
scribu 6daedd550c Revert most of [16018]. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16352 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 18:26:15 +00:00
scribu e19c83933a Split get_search_sql(). See #15170. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16351 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 18:18:45 +00:00
scribu 4ffac80fc4 Prevent horizontal scrollbar. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16344 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:33:12 +00:00
Andrew Nacin 7f4e354bd1 Move cast to within array_keys to prevent warning when get_the_terms returns false. see #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16343 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 15:32:20 +00:00
scribu a2dfe18dfd Add 'get_the_terms' filter. Props filosofo. Fixes #15410
git-svn-id: https://develop.svn.wordpress.org/trunk@16342 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 14:08:27 +00:00
Andrew Nacin 958d135e11 Escape the class arg in wp_list_categories. props hakre, fixes #11514.
git-svn-id: https://develop.svn.wordpress.org/trunk@16341 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 11:06:26 +00:00
Andrew Nacin 200eefec46 Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:53:55 +00:00
Andrew Nacin 305fbe129d Only a static class method or function can be used in an uninstall hook. props scribu, fixes #13786.
git-svn-id: https://develop.svn.wordpress.org/trunk@16339 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 09:45:57 +00:00
Andrew Nacin 812c44072a Set map_meta_cap to true when capability_type = post and no custom caps are specified. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16338 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-13 08:40:38 +00:00
Peter Westwood f8f48b0f24 Revert [16320] and [16321] for now. Breaks things
git-svn-id: https://develop.svn.wordpress.org/trunk@16336 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 22:44:16 +00:00
Peter Westwood b08df21c26 Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 21:53:15 +00:00
scribu 11f20d737c Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:05:37 +00:00
scribu 9f86bb7104 Don't use deprecated category properties. Props filosofo. Fixes #15408
git-svn-id: https://develop.svn.wordpress.org/trunk@16331 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 18:40:51 +00:00
Andrew Nacin aa9d1494e6 Self-close embed tag for googlevideo embed handler. props pross, fixes #14230.
git-svn-id: https://develop.svn.wordpress.org/trunk@16323 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 11:17:35 +00:00
Andrew Nacin f75f0aee7f Only register post_format taxonomy to posts. see #15396, #14746.
git-svn-id: https://develop.svn.wordpress.org/trunk@16322 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 10:58:58 +00:00
Andrew Nacin 92b8c22e03 Only mysql_free_result if we have a valid resource, and remove error suppression there. see #15402.
git-svn-id: https://develop.svn.wordpress.org/trunk@16321 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 10:40:43 +00:00
Andrew Nacin 9404ce9a12 Memory usage and execution improvements in wpdb. Store and work with resources directly, rather than full copies of results. Plugins which incorrectly used wpdb->last_result (a private property) will need to shift to wpdb->get_results() with no \$query. Magic getter is introduced for back compat when using PHP5. props joelhardi, fixes #12257.
git-svn-id: https://develop.svn.wordpress.org/trunk@16320 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 10:15:18 +00:00
Andrew Nacin 8d5463366a Use term cache in get_post_format() to save a boatload of queries. see #15396.
git-svn-id: https://develop.svn.wordpress.org/trunk@16319 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 09:49:34 +00:00
Andrew Nacin 46efef4555 jQuery 1.4.4. props demetris, fixes #15201, #15227.
git-svn-id: https://develop.svn.wordpress.org/trunk@16318 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 07:13:11 +00:00
Andrew Nacin f3a332a13c Typo fix. see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16317 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 07:04:34 +00:00
Mark Jaquith d3684a509d Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16315 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:10:56 +00:00
Mark Jaquith 647422ad33 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16314 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 04:05:33 +00:00
Andrew Nacin d8c91db1f4 Remove more create_function calls. props huichen, see #14424.
git-svn-id: https://develop.svn.wordpress.org/trunk@16313 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:50:36 +00:00
Andrew Nacin 21a38007d8 Remove old header/footer link active state. props dremeda, fixes #14487.
git-svn-id: https://develop.svn.wordpress.org/trunk@16311 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 22:17:11 +00:00
Ryan Boren e4983b968e Admin bar fixes. Props ocean90. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16310 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 20:02:52 +00:00
Ryan Boren d68bd6002a Register admin menus against admin_bar_menu action to be consistent with other menu hooks. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16309 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 19:11:12 +00:00
Ryan Boren c54708d203 Make the My Sites menu items use admin_url() instead of hardcoding the url. Props caesarsgrunt. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16308 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 18:48:38 +00:00
Ryan Boren 06513139e7 phpdoc fixes. Props hakre. fixes #12526
git-svn-id: https://develop.svn.wordpress.org/trunk@16307 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 17:02:14 +00:00
Ryan Boren 994d8ecab8 Farbtastic 1.3u. Props flashingcursor. fixes #14707
git-svn-id: https://develop.svn.wordpress.org/trunk@16305 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:34:22 +00:00
Andrew Nacin 57ad813bf4 Don't notify the author when they posted or moderated the comment. fixes #12774.
git-svn-id: https://develop.svn.wordpress.org/trunk@16304 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:28:49 +00:00
Ryan Boren 8ad934c85d Prevent stomping of global. Props prettyboymp. fixes #13945
git-svn-id: https://develop.svn.wordpress.org/trunk@16303 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:22:18 +00:00
Ryan Boren 987bf4663f Admin bar tweaks. Props filosofo. see #15308
git-svn-id: https://develop.svn.wordpress.org/trunk@16302 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:19:25 +00:00
Ryan Boren cb3030f582 Admin bar tweaks. Props filosofo. see #15308
git-svn-id: https://develop.svn.wordpress.org/trunk@16301 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:19:14 +00:00
Ryan Boren c79e13144c Faster is_serialized(). Props duck_, hakre, Denis-de-Bernardy. see #14429
git-svn-id: https://develop.svn.wordpress.org/trunk@16300 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:10:16 +00:00
Ryan Boren d0f30f75e5 Return false if upload_space_check_disabled is true in upload_is_user_over_quota(). Props SergeyBiryukov. fixes #14121
git-svn-id: https://develop.svn.wordpress.org/trunk@16299 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:03:51 +00:00
Peter Westwood afbd46517a Don't show duff links if someone decides that they want the admin bar for all users - even those who are logged out.
git-svn-id: https://develop.svn.wordpress.org/trunk@16291 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 11:49:37 +00:00
Peter Westwood a91abd41d8 Strip back the stats in the memory based object cache to something less verbose and useless.
git-svn-id: https://develop.svn.wordpress.org/trunk@16288 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 10:55:06 +00:00
Peter Westwood 06bf2f9e66 Link the shortlink button to the shortlink. Props caesarsgrunt see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16287 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 10:24:56 +00:00
scribu f337bb1b86 Add context to get_meta_sql(). See #15018
git-svn-id: https://develop.svn.wordpress.org/trunk@16286 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 10:06:05 +00:00
Peter Westwood ea7bd69745 Generate Human Readable passwords as they are much more userfriendly. Fixes #13324 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@16284 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 23:31:54 +00:00
Peter Westwood be170fde65 Add support for ID style classes in get_body_class(). Fixes #12397 props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@16283 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 22:07:07 +00:00
Peter Westwood 6b1be702c4 Move the l10n helper function into a seperate js file so we can always output it first.
Fixes #15124.

git-svn-id: https://develop.svn.wordpress.org/trunk@16282 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 21:53:30 +00:00
Peter Westwood 4a03447530 Improved RegEx for quote matching in wptexturize. Fixes #4539 and #15241 props norbertm.
git-svn-id: https://develop.svn.wordpress.org/trunk@16280 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 19:23:57 +00:00
Peter Westwood 06c7e6ed40 Don't capture the pesky trailing punctuation. Fixes #14993 props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@16279 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 17:47:46 +00:00
Andrew Nacin d50013b957 Ensure we have a valid post type object when checking for has_archive. props filosofo, fixes #15364.
git-svn-id: https://develop.svn.wordpress.org/trunk@16276 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 16:42:59 +00:00
Ryan Boren af72ac38ff Pass post ID to get_enclosed filter. Props willnorris. fixes #14018
git-svn-id: https://develop.svn.wordpress.org/trunk@16275 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 16:40:49 +00:00
Ryan Boren 38c6bcbb55 Admin bar hover fixes. Props filosofo. see #15307
git-svn-id: https://develop.svn.wordpress.org/trunk@16274 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 16:19:55 +00:00
Andrew Nacin 66d261ba84 Cripple capability_type. Produced inconsistent, janky meta cap mapping; now only acts as a capability base. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16273 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 14:50:14 +00:00
Andrew Nacin 5861cd15ae Properly set up menu_name. We're handling it differently because it defaults off other labels. fixes #14832.
git-svn-id: https://develop.svn.wordpress.org/trunk@16268 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-10 00:42:43 +00:00
scribu 83738d47f4 Make get_tax_sql() a standalone function. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16267 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 23:30:35 +00:00
scribu c0be4fafcf Make get_meta_sql() a standalone function. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16266 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 23:22:13 +00:00
Ryan Boren 6fd3b61886 Always allow super admins to have create_users. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16264 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 21:45:06 +00:00
Andrew Nacin a8fca7761a Better better message.
git-svn-id: https://develop.svn.wordpress.org/trunk@16263 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 20:37:47 +00:00
Ryan Boren 9b18657c74 Drop display_name from user search columns. It doesn't have an index. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16262 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 20:01:56 +00:00
scribu 5a2a86f84a Allow mix of 'taxonomy' => 'foo', 'term' => 'bar' and 'foo2' => 'bar2'. Props filosofo. Fixes #15363
git-svn-id: https://develop.svn.wordpress.org/trunk@16259 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 16:45:51 +00:00
scribu 4754dbd2c6 Set 'operator' field. Fixes #15350. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16258 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 12:27:03 +00:00
Peter Westwood 3f01db9dd9 Better message.
git-svn-id: https://develop.svn.wordpress.org/trunk@16257 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 10:45:30 +00:00
Peter Westwood e2379fdd7e Switch the following XMLRPC api calls to support an optional number of posts.
blogger.getRecentPosts
metaWeblog.getRecentPosts
mt.getRecentPostTitles

git-svn-id: https://develop.svn.wordpress.org/trunk@16256 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 10:16:23 +00:00
Peter Westwood 29da3d7730 Mark the calling of wp_get_recent_posts() with just a count as deprecated - only use in core was from XMLRPC.
git-svn-id: https://develop.svn.wordpress.org/trunk@16255 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 10:14:38 +00:00
Andrew Nacin c165557b3e Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832.
git-svn-id: https://develop.svn.wordpress.org/trunk@16251 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 02:09:00 +00:00
Andrew Nacin 07522b17d1 Confirm that the queried term object is of the requested taxonomy in wp_list_categories. fixes #15347.
git-svn-id: https://develop.svn.wordpress.org/trunk@16250 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 01:20:38 +00:00
Andrew Nacin 7be12299b7 Merge two strings in JS, which were merged elsewhere some time ago.
git-svn-id: https://develop.svn.wordpress.org/trunk@16248 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 00:52:02 +00:00
Ryan Boren e4a21e0527 Resurrect nav-tab-wrapper. Lost in [16136]. see #15154
git-svn-id: https://develop.svn.wordpress.org/trunk@16243 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 22:12:46 +00:00
Peter Westwood 163f1b0d9c Fix typo in error message. Props PeteMall
git-svn-id: https://develop.svn.wordpress.org/trunk@16233 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-08 10:08:51 +00:00
scribu fc764ebc45 Remove nofollow on comment reply links. Fixes #10550
git-svn-id: https://develop.svn.wordpress.org/trunk@16230 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-07 01:06:37 +00:00
Ryan Boren 94839a3f17 Prime blogs of user cache from old cache to avoid mass DB requests on upgrade. see #14379
git-svn-id: https://develop.svn.wordpress.org/trunk@16225 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 18:45:20 +00:00
Ryan Boren 56a6f6f060 Send moderation emails to post author. see #6286
git-svn-id: https://develop.svn.wordpress.org/trunk@16223 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 15:20:50 +00:00
Peter Westwood 1626139659 Remove WP_SHOW_ADMIN_BAR and go off existing and new defines on page type. See #15315
git-svn-id: https://develop.svn.wordpress.org/trunk@16221 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-06 09:41:03 +00:00
scribu 441237a5f4 Uncheck mass select checkbox when updating rows via ajax. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16218 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 23:07:00 +00:00
scribu b3d19ecb16 Make get_file_data() regex more precise. Fixes #15193
git-svn-id: https://develop.svn.wordpress.org/trunk@16215 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 22:22:28 +00:00
Andrew Nacin 6a8c5b337b Revert [16021]. See #14170.
git-svn-id: https://develop.svn.wordpress.org/trunk@16213 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:35:28 +00:00
Andrew Nacin 30ada3d17d Add missing arguments to post_type_archive_title. props greenshady, see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@16211 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:14:43 +00:00
Ryan Boren b8b7810f52 Introduce user_can(). Props simonwheatley. fixes #14602
git-svn-id: https://develop.svn.wordpress.org/trunk@16209 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 17:04:46 +00:00
Ryan Boren 20131f4e62 Don't fire wp_notify_postauthor() when the author moderated the comment. Props mrmist. fixes #12774
git-svn-id: https://develop.svn.wordpress.org/trunk@16208 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 15:36:04 +00:00
Ryan Boren b7ed18e2ec Don't anchor regex. Props ozh. fixes #14628
git-svn-id: https://develop.svn.wordpress.org/trunk@16207 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 15:29:50 +00:00
Ryan Boren d73a826715 Eliminate some queries in get_page_by_path() by consulting cache. Props Denis-de-Bernardy, wojtek.szkutnik. fixes #11373
git-svn-id: https://develop.svn.wordpress.org/trunk@16206 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 15:26:15 +00:00
scribu a1c670189d remove leading <li> from get_views() and add it later. Fixes #15321
git-svn-id: https://develop.svn.wordpress.org/trunk@16205 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 14:34:09 +00:00
scribu 79c38419bf Skip category/tag queries if post type doesn't support them. Props mfields. Fixes #15322
git-svn-id: https://develop.svn.wordpress.org/trunk@16204 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 12:47:19 +00:00
Peter Westwood 432fa1921c Restore the functionality of some of the other timezone format modifiers in date_i18n props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@16203 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 11:19:06 +00:00
Mark Jaquith 85957ff289 Allow get_post_format() to assume current post if none passed in. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16202 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 09:40:36 +00:00
Mark Jaquith 205c412afd Post Formats generate output in post_class() (format-foo), and body_class() (for single... single-format-foo). Now themers can support Post Formats with one line of PHP and by adding CSS! see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16200 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 06:48:56 +00:00
Mark Jaquith 32ac7d22a6 get_post_format_string() to get nice version of a post format slug. Try appending post format as a post-status label. Enclose in square brackets to help it stand out. Remove post format strings filter. If this is going to be standard, it should be standard. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16198 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 03:04:13 +00:00
Mark Jaquith c44eb74f66 Use post_type_supports() to check for whether a post type supports post formats. Only posts support it by default. props mikeschinkel. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16196 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:04:22 +00:00
Mark Jaquith 6648c30823 Translate and prettify post formats for display. Also, filterable by themes/plugins to add new ones. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16191 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:33:50 +00:00
Mark Jaquith 6c266a561d Bump the post.js version
git-svn-id: https://develop.svn.wordpress.org/trunk@16189 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 18:11:29 +00:00
Ryan Boren 44b87921bd jQuery 1.4.4rc2. see #15227
git-svn-id: https://develop.svn.wordpress.org/trunk@16186 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 17:56:13 +00:00
Ryan Boren 2bc9ef93c1 Use bool not string. Props TobiasBg. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16181 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 14:43:10 +00:00
scribu ef025261e7 Allow tag cloud using multiple taxonomies. Props sorich87. Fixes #15313
git-svn-id: https://develop.svn.wordpress.org/trunk@16180 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 10:45:14 +00:00
Peter Westwood 75dc7c8c37 Don't mangle the primary_blog option when trying to fix it. Don't set people to be a subscriber on a blog they already have a role for. See #15316
git-svn-id: https://develop.svn.wordpress.org/trunk@16179 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 09:31:58 +00:00
Peter Westwood 3c5457259b When adding a user to the blog pass in the current blog id. See #15316.
git-svn-id: https://develop.svn.wordpress.org/trunk@16178 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 09:06:45 +00:00
Mark Jaquith ef54c47f7a add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
Andrew Nacin 8b0f87ebfd Blue tweaks. props saracannon, see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16173 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 01:59:58 +00:00
Ryan Boren 85e4a4a434 Allow trailing wildcard user searches by appending *. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16170 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 19:31:11 +00:00
Ryan Boren 42d5904377 Anchor user search queries to the front. Limit columns searched based on what the search string looks like. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16168 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 19:02:42 +00:00
Ryan Boren c055a78ae1 jQuery UI 1.8.6. Props demetris. fixes #15303
git-svn-id: https://develop.svn.wordpress.org/trunk@16165 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 16:22:24 +00:00
Ryan Boren 1261493fa1 Lose super admin bar css. No longer used. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16162 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 14:22:54 +00:00
Ryan Boren 0ffd5e3012 Show latest x users with no paging if on a large network. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@16160 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-03 13:34:04 +00:00
Andrew Nacin 3d4abac949 Tabs for internal linking. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16159 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 23:25:24 +00:00
Andrew Nacin e5684c63bc New color scheme swatches for the profile page. props JohnONolan, saracannon. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16156 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 21:04:29 +00:00
scribu e07b7bbdc5 Use wp_basename() in WP_Query too. See #11887
git-svn-id: https://develop.svn.wordpress.org/trunk@16155 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 17:28:28 +00:00
scribu 58aedde597 Introduce wp_basename() and use it for media handling. See #11887
git-svn-id: https://develop.svn.wordpress.org/trunk@16154 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 17:19:55 +00:00
Andrew Nacin 59d3fd59c4 Implement the screen options toggle sprite across color schemes. props PeteMall, and use correct file ext, props ocean90. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16152 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 15:35:10 +00:00
Peter Westwood ba0b9ce455 Revert 16150 - breaks things more than it fixes things. See #14993
git-svn-id: https://develop.svn.wordpress.org/trunk@16151 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 11:42:30 +00:00
Peter Westwood 3454487449 Don't capture RFC3986 sub-delims when making urls clickable except for ). Fixes #14993 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16150 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 09:45:09 +00:00
Peter Westwood 804b3a0747 Rename new classes to match our coding standards. Fixes #15280.
git-svn-id: https://develop.svn.wordpress.org/trunk@16149 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 08:29:07 +00:00
Andrew Nacin f95cfd07f3 Remove deleted file from the manifest. Note that most other blue files were never added. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16147 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:24:58 +00:00
Andrew Nacin c31ef3498a Housekeeping for blue refresh. Script bumps, image bumps, remove unused blue-specific files. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16146 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-02 05:05:27 +00:00
scribu 033dc3afa2 Just pass meta type to get_meta_sql(). See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16143 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 20:34:54 +00:00
scribu 69b36459a8 Rename class.wp-object-query.php to class-wp-object-query.php. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16142 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 20:21:29 +00:00
Peter Westwood 0bb1061d57 Add the post status as a class so that a theme can easily style private posts differently. Fixes #15279.
git-svn-id: https://develop.svn.wordpress.org/trunk@16139 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 18:07:31 +00:00
Peter Westwood 3462e6af43 Add a post class if a password is required for the post to be displayed. See #13860 props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16138 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 18:05:33 +00:00
Ryan Boren 2e4abe9e16 Use CPTs in admin bar menus. Props duck_. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16132 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-01 14:58:59 +00:00
scribu a3009772e7 make not_found puctuation translatable. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16121 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 23:21:56 +00:00
scribu 33e3ef1367 Remove check on unexistant $ids var in WP_Query::get_posts. Props Utkarsh. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16116 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:28:49 +00:00
scribu 58f4333233 Use get_queried_object() in more get_*_template() functions. Fixes #15263
git-svn-id: https://develop.svn.wordpress.org/trunk@16115 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:23:10 +00:00
scribu b4988b968b use get_queried_object() wrappers throughout. See #14015
git-svn-id: https://develop.svn.wordpress.org/trunk@16114 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:02:17 +00:00
Peter Westwood 4d8416318e Always capture ! as part of a url. See #14993 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16111 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 09:09:29 +00:00
scribu 2285775e09 Add 'get_meta_sql' filter. Props sc0ttkclark for initial patch. Fixes #15018
git-svn-id: https://develop.svn.wordpress.org/trunk@16106 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 00:21:06 +00:00
Andrew Nacin 310a9b04d2 Move code out of the conditional. props duck_, fixes #14415.
git-svn-id: https://develop.svn.wordpress.org/trunk@16104 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 18:21:23 +00:00
Andrew Nacin 88fa2b340c File-level phpdoc for new class files. fixes #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16101 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:09:05 +00:00
Andrew Nacin f9c7ac66ec Move Walker_Page* to post-template, Walker_Category* to category-template, and rm classes.php. see #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16100 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:06:08 +00:00
Andrew Nacin edc329c691 Begin the dissolution of classes.php. see #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16099 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 07:02:06 +00:00
Andrew Nacin ccee731f94 Kill the admin-bar directory. see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16098 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 06:40:04 +00:00
Andrew Nacin 6524af3915 Add menu-item-object-$object class. props filosofo, fixes #14053.
git-svn-id: https://develop.svn.wordpress.org/trunk@16095 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:49:42 +00:00
Andrew Nacin 82ae655534 Move an array cast further down the stack. props filosofo, fixes #13965.
git-svn-id: https://develop.svn.wordpress.org/trunk@16093 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 22:39:53 +00:00
Ryan Boren af17458ed9 get_queried_obecjt() and get_queried_object_id(). Props filosofo. fixes #14015
git-svn-id: https://develop.svn.wordpress.org/trunk@16091 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:48:54 +00:00
Andrew Ozz d39d7e4ba4 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: https://develop.svn.wordpress.org/trunk@16090 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:06:00 +00:00
Ryan Boren 9afa96dc1b Lose Manage Sites. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16086 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 18:18:21 +00:00
Ryan Boren cfcf51fcfa Use get_edit_profile_url(). see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16085 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 18:15:24 +00:00
Ryan Boren 01cd7eae1f Add Network Admin link to super admin menu. Link Site Options to site-info.php. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16084 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 18:12:18 +00:00
Ryan Boren 40558c2dbc get_dashboard_url() and get_edit_profile_url(). Determine the appropriate dahboard for a user based on the user's blogs and the current blog. see #14696 #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16083 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 17:48:53 +00:00
Ryan Boren 59a291483f Fix comments links. Props PeteMall. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16082 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 16:50:21 +00:00
Ryan Boren e33e94e28d Use a sprite for screen options toggle. Props TECannon PeteMall. see #15163
git-svn-id: https://develop.svn.wordpress.org/trunk@16081 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 16:23:17 +00:00
Peter Westwood b5025d2b5b Only show it as the Global Dashboard if multisite. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16080 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:45:29 +00:00
Ryan Boren d2dd8df29f Add Updates menu to admin bar. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16079 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:36:45 +00:00
Ryan Boren 3c374b177c Add Appearance menu to admin bar. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16078 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:26:36 +00:00
Ryan Boren 81b8a20429 Beginnings of new admin bar organization. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16077 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 15:17:22 +00:00
Peter Westwood bcd5c65438 Don't show a shortlink button if we don't have one. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16076 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:58:14 +00:00
Nikolay Bachiyski 94ed154f65 Retain backwards compatiblity for the few plugins using _n_noop()
git-svn-id: https://develop.svn.wordpress.org/trunk@16075 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:37:03 +00:00
Ryan Boren 71dd59892d Fix typo. Props filosofo. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16074 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:27:52 +00:00
Nikolay Bachiyski 1937c1221d Introduce and use translate_nooped_plural(). Fixes #13996
* _n_noop() and _nx_noop() now return associative arrays for greater clarity
 * translate_nooped_plural() takes one such associative array and translates it
 * it works on both the result from _n_noop() and from _nx_noop()
 * this breaks backwards compatibility, but I doubt any plugin uses it (I will do a global grep to confirm)
 * translate_nooped_plural() is applied where applicable


git-svn-id: https://develop.svn.wordpress.org/trunk@16073 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 13:12:14 +00:00
Peter Westwood 8e0ad0374e If someone has defined WP_SHOW_ADMIN_BAR it wins period. Otherwise we break for things like XMLRPC which disable this always. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16071 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:44:02 +00:00
Peter Westwood a80db4c779 More admin bar updates. See #14772 props filosofo.
Moves js out into seperate file.
Respects WP_SHOW_ADMIN_BAR.
Moved shortlink to top-level
Removed admin bar from non-multisite admin pages.
Set eol-style on new files.

git-svn-id: https://develop.svn.wordpress.org/trunk@16070 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:25:58 +00:00
Peter Westwood 743606fac1 Fix some notices when pinging
git-svn-id: https://develop.svn.wordpress.org/trunk@16069 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:07:28 +00:00
Peter Westwood c8366c5966 Don't pass deprecated argument to discover_pingback_server_uri!
git-svn-id: https://develop.svn.wordpress.org/trunk@16068 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 07:06:48 +00:00
Andrew Nacin e2dfe4f5c2 Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064, fixes #15247.
git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:31:27 +00:00
Peter Westwood 4cc293abd2 Switch to using WP_HTTP_IXR_Client in core. See #10588.
git-svn-id: https://develop.svn.wordpress.org/trunk@16065 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:15:54 +00:00
Peter Westwood a7d5b1d473 Introduce WP_HTTP_IXR_Client. Extends IXR_Client and switches it to using the WordPress HTTP API instead of fsockopen. See #10588 props andy and ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@16064 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:13:24 +00:00
Peter Westwood f744dcac07 Ensure we always have a headers array.
git-svn-id: https://develop.svn.wordpress.org/trunk@16063 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:11:16 +00:00
Peter Westwood 1fecd2b99c Add a TODO to review this code later.
git-svn-id: https://develop.svn.wordpress.org/trunk@16062 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 22:00:53 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Ryan Boren bd29ca8eeb Update wp-tinymce.js.gz. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16060 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:03:16 +00:00
scribu d72c69b7b6 Introduce get_terms_args filter. Fixes #15020
git-svn-id: https://develop.svn.wordpress.org/trunk@16059 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 19:09:18 +00:00
Ryan Boren d74685e477 s/Read Site/Visit Site/. Props markmcwilliams. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16058 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 19:00:12 +00:00
scribu 34ca745a55 Add terms_clauses filter. Props sc0ttkclark for initial patch. See #15020
git-svn-id: https://develop.svn.wordpress.org/trunk@16056 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:55:30 +00:00
Ryan Boren c28835809e Lose the snack menu. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16055 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:29:44 +00:00
Ryan Boren 8223646c58 Typo fix. Props markmcwilliams. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@16054 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:19:37 +00:00
scribu 0ba17a703a Make get_meta_sql() return associative array. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16053 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 17:02:37 +00:00
scribu 554cf6319b Remove duplicate file docs. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16052 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 16:28:58 +00:00
scribu 8c293b9d94 Move WP_Object_Query to it's own file. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16051 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 16:27:18 +00:00
Ryan Boren 2184a5d0f6 get_current_blog_id(). Props aaroncampbell. fixes #15233
git-svn-id: https://develop.svn.wordpress.org/trunk@16050 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 15:46:11 +00:00
scribu 35362272f1 More precise role querying. Props johnbillion for initial patch. Fixes #12693
git-svn-id: https://develop.svn.wordpress.org/trunk@16048 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 13:26:16 +00:00
Peter Westwood 6c0440291b phpDoc and a bug fix for the new media XMLRPC functions. See #15151 props koke.
git-svn-id: https://develop.svn.wordpress.org/trunk@16046 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:12:59 +00:00
Peter Westwood 75e6391410 Comment it out better
git-svn-id: https://develop.svn.wordpress.org/trunk@16045 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:02:52 +00:00
Peter Westwood 6fd3027f4e Add a todo. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16044 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 12:01:44 +00:00
Peter Westwood c0c3167621 Missing part of the admin bar rework. See #14772 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@16043 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 11:48:22 +00:00
Peter Westwood c3a0a1919b Debug should be a plugin not a core feature for now. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16042 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:48:52 +00:00
Peter Westwood 20c34b481c Revert [16039]. Wasn't as much junk as it looked :-( See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16041 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:45:35 +00:00
Peter Westwood 080daa9752 Strip out some junk from trunk. See #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@16039 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:35:55 +00:00
Peter Westwood 4c79038cfe Admin bar cleanup. See #14772 props filosofo.
Moves CSS into seperate files.
Patch cleanup included moving function call arguments back on to one line where not necessary to split them.

git-svn-id: https://develop.svn.wordpress.org/trunk@16038 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:31:36 +00:00
Peter Westwood 27b777b4a6 Purger more create_function usage during autop and iso descrambling. See #14424 props ScottMac.
git-svn-id: https://develop.svn.wordpress.org/trunk@16035 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 07:38:00 +00:00
Peter Westwood 82d2869415 Remove create_function usage during preview. See #14424 props ScottMac.
git-svn-id: https://develop.svn.wordpress.org/trunk@16034 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 07:25:30 +00:00
Andrew Nacin 81c93c3e1f Doc fix for get_author_posts_url. props simonwheatley, fixes #14249.
git-svn-id: https://develop.svn.wordpress.org/trunk@16033 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 07:15:23 +00:00
Andrew Nacin e07a1d59c6 Use esc_html. Ancient, deprecated functions, but a valid fix nonetheless. fixes #14199.
git-svn-id: https://develop.svn.wordpress.org/trunk@16031 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 06:30:59 +00:00
Andrew Nacin 2c833277b2 Use correct variable. props linguasite, fixes #14141.
git-svn-id: https://develop.svn.wordpress.org/trunk@16030 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 05:58:49 +00:00
Andrew Nacin af1bafa67b Remove unnecessary wp_cache_delete calls. props shidouhikari, fixes #14080.
git-svn-id: https://develop.svn.wordpress.org/trunk@16029 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 05:22:45 +00:00
Andrew Nacin 7b6f24eeeb Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206.
git-svn-id: https://develop.svn.wordpress.org/trunk@16028 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 03:58:51 +00:00
Andrew Nacin 4bd893efd3 Use call_user_func for wpnique_filename callback. fixes #14627.
git-svn-id: https://develop.svn.wordpress.org/trunk@16025 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 22:27:06 +00:00
scribu b2f927ed76 Set additional fields when searching. Fixes #15211
git-svn-id: https://develop.svn.wordpress.org/trunk@16022 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 20:17:00 +00:00
scribu 9c918c6a05 Trigger activation hooks for netork plugins when new site is created. See #14170
git-svn-id: https://develop.svn.wordpress.org/trunk@16021 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 19:41:59 +00:00
scribu 665b15790d Make comment clauses more similar to post clauses. See #15019
git-svn-id: https://develop.svn.wordpress.org/trunk@16020 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 19:05:39 +00:00
scribu 1f23d12a79 Add filters to WP_Comment_Query. Props sc0ttkclark. Fixes #15019
git-svn-id: https://develop.svn.wordpress.org/trunk@16019 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 18:49:45 +00:00
scribu 174c0acfb4 Move get() and set() methods from WP_Query to WP_Object_Query. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16018 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 18:16:52 +00:00
scribu 9cc035e926 Fix inconsistencies in metadata filters. Props sc0ttkclark. See #14766
git-svn-id: https://develop.svn.wordpress.org/trunk@16017 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 17:45:08 +00:00
Peter Westwood c33811d3e7 First pass at 'wp.getMediaItem' and
'wp.getMediaLibrary'. See #15151 props koke.

git-svn-id: https://develop.svn.wordpress.org/trunk@16016 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 17:20:46 +00:00
Peter Westwood 91d456e319 Restore the (at most 15) on the Recent Posts Widgets UI - Accidentally removed as part of [14483].
git-svn-id: https://develop.svn.wordpress.org/trunk@16013 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 14:10:47 +00:00
Andrew Nacin dfa3d5561d Improve the line height on div.updated, div.error. props joelhardi, fixes #14891.
git-svn-id: https://develop.svn.wordpress.org/trunk@16010 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 11:57:55 +00:00
Andrew Nacin 8db82e5ea1 Move registration.php functions to user.php. Deprecate registration.php, everything is now included by default. fixes #13761.
git-svn-id: https://develop.svn.wordpress.org/trunk@16009 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 10:46:24 +00:00
Andrew Nacin 8e7e99047e Fix some encoding issues. props hakre, fixes #14735.
git-svn-id: https://develop.svn.wordpress.org/trunk@16005 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 09:54:17 +00:00
Andrew Nacin 71c59b865a Add a 'Sticky' filter on the edit posts page. Add post_in and post_not_in as private query vars in the WP class to support this. fixes #8466.
git-svn-id: https://develop.svn.wordpress.org/trunk@16003 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 08:27:45 +00:00
Peter Westwood b4818a8af8 Remove the ghetto code and use the script loader properly on the login page.
Ensure that we actually have convertEntities available on the login page.
Introduce a login_footer action.
Hook in the script loader to the login_header and login_footer actions.
See #5919, #15124.

git-svn-id: https://develop.svn.wordpress.org/trunk@16000 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:57:10 +00:00
Peter Westwood b138a1b60a Bring back a seperate js file for the password strength meter and correctly mark it as a dependancy of the user profile code. See #5919.
git-svn-id: https://develop.svn.wordpress.org/trunk@15998 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 06:39:20 +00:00
Andrew Nacin bcbb15ca21 Return empty array in wp_get_sidebars_widgets() if no sidebars are defined. fixes #14876.
git-svn-id: https://develop.svn.wordpress.org/trunk@15994 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:56:54 +00:00
Andrew Nacin ad18a5dc4b Standardize on 'Display as dropdown' and list those before post counts in default widgets. fixes #15096.
git-svn-id: https://develop.svn.wordpress.org/trunk@15993 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:52:59 +00:00
Andrew Nacin e7f4600080 jQuery 1.4.4 preview as of Wed Oct 27 00:55:02 2010. see #15227.
git-svn-id: https://develop.svn.wordpress.org/trunk@15991 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:58:41 +00:00
Andrew Nacin 8b0d9c5856 More pedantry.
git-svn-id: https://develop.svn.wordpress.org/trunk@15990 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:33:29 +00:00
Andrew Nacin a484cb25a0 Bool cast preg_match, in readable form. see #9824.
git-svn-id: https://develop.svn.wordpress.org/trunk@15989 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:30:49 +00:00
Andrew Nacin 2fa2485d20 Bool cast preg_match. see #9824.
git-svn-id: https://develop.svn.wordpress.org/trunk@15988 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:27:08 +00:00
scribu f196a4932c Don't trigger verbose page rules if permalink begins with fixed string. Fixes #9824
git-svn-id: https://develop.svn.wordpress.org/trunk@15987 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 00:25:03 +00:00
scribu f9fa7ecc39 Round bottom-right corner of the screen options dropdown. Fixes #15226
git-svn-id: https://develop.svn.wordpress.org/trunk@15986 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 22:15:58 +00:00
Andrew Nacin 2fb5876e7e Specify feed type in the_category_rss() call. props benward, fixes #14451.
git-svn-id: https://develop.svn.wordpress.org/trunk@15984 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 20:15:18 +00:00
scribu d9abf82f7c Add filters to *_metadata() functions. Props sc0ttkclark. Fixes #14766
git-svn-id: https://develop.svn.wordpress.org/trunk@15983 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 19:11:27 +00:00
scribu 1c9a241148 Introduce 'fields' query var to WP_Query. See #14777
git-svn-id: https://develop.svn.wordpress.org/trunk@15982 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 19:01:55 +00:00
Andrew Nacin fb3a8f92bf Don't sort plugin descriptions column. Make on state for sortable columns black, not the typical link orange. fixes #15224.
git-svn-id: https://develop.svn.wordpress.org/trunk@15981 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 18:15:47 +00:00
Peter Westwood 4b88dd0f93 Expose the media options over XML-RPC. Fixes #15153 props koke.
git-svn-id: https://develop.svn.wordpress.org/trunk@15980 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 17:46:29 +00:00
Peter Westwood dd57d9fd93 4th argument of wp.getOptions is optional so don't notice if it's not supplied.
git-svn-id: https://develop.svn.wordpress.org/trunk@15975 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 14:43:20 +00:00
Ryan Boren c9d26cd5b3 Refactor wp_get_recent_posts to use get_posts(). Props blepoxp. fixes #14389
git-svn-id: https://develop.svn.wordpress.org/trunk@15973 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:50:38 +00:00
Ryan Boren 06780d1fb0 Fix infinite recursion caused by malformed URLs. Props mdawaffe. fixes #14655
git-svn-id: https://develop.svn.wordpress.org/trunk@15972 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 13:44:03 +00:00
Andrew Nacin 90b2bbe16e Allow page rewrites to be disabled. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15970 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 07:12:06 +00:00
Andrew Nacin fcb14d6104 Also look for SUBDOMAIN_INSTALL in is_multisite(). props wpmuguru, fixes #14536 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15968 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:45:13 +00:00
Andrew Nacin 9c39f8bcf2 Fix custom background selector for IE7. props duck_, fixes #14152.
git-svn-id: https://develop.svn.wordpress.org/trunk@15966 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:42:14 +00:00
Andrew Nacin f48506bb8f Remove redundant filter. props coffee2code. fixes #14285.
git-svn-id: https://develop.svn.wordpress.org/trunk@15964 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-26 03:34:28 +00:00
Ryan Boren ae76af21a9 Generalize seletion for h2 and h3 tabs. Props chrisbliss18 fixes #15154
git-svn-id: https://develop.svn.wordpress.org/trunk@15962 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:45:58 +00:00
Andrew Nacin b0208b5a8c Importer and exporter overhaul, mega props duck.
Exporter overhaul:
 * Add author information to export
 * Greater usage of slug identifiers
 * Don't export auto-drafts, spam comments, or edit lock/last meta keys
 * Inline documentation improvements
 * Remove filtering for now (@todo)
 * Bump WXR version to 1.1, but remain back compat in the importer

Importer overhaul (http://plugins.trac.wordpress.org/changeset/304249):
 * Use an XML parser where available (SimpleXML, XML Parser)
 * Proper import support for navigation menus
 * Many bug fixes, specifically improvements to category and custom taxonomy handling
 * Better author/user mapping

Fixes #5447 #5460 #7400 #7973 #8471 #9237 #10319 #11118 #11144 #11354 #11574 #12685 #13364 #13394 #13453 #13454 #13627 #14306 #14442 #14524 #14750 #15055 #15091 #15108.

See #15197.


git-svn-id: https://develop.svn.wordpress.org/trunk@15961 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 20:43:52 +00:00
Peter Westwood 8913638185 Attempt at a fix for url encoding issues with UTF8 chars. See #10249.
git-svn-id: https://develop.svn.wordpress.org/trunk@15960 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 14:50:58 +00:00
Andrew Nacin d8672ca5d8 Pass comment ID from comment_text to get_comment_text. Also add the comment object as context to the filter. fixes #14261
git-svn-id: https://develop.svn.wordpress.org/trunk@15957 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 03:11:01 +00:00
Ryan Boren 8df8490fde Idempotence for sanitize_user(). Make sanitize_key() match its phpdoc. Props duck_ fixes #15198
git-svn-id: https://develop.svn.wordpress.org/trunk@15948 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 20:33:54 +00:00
Andrew Nacin 787da5c464 Allow fields with a paragraph tag to align to top in the form-table on settings pages. see #15205.
git-svn-id: https://develop.svn.wordpress.org/trunk@15945 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 18:07:20 +00:00
Andrew Nacin a719899fca Rearrange wp-load include. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15943 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:56:10 +00:00
Andrew Nacin 4738e732ae Remove dead arguments. see [15937], see #13818, props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@15942 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:27:01 +00:00
Andrew Nacin 46458ec3ca Compress scripts and bump for [15939] [15940]. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15941 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 03:03:52 +00:00
Andrew Nacin f34a8de8ec Internal linking, first pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@15940 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-24 02:58:42 +00:00
Andrew Nacin cd50525faa Don't show the admin bar in the plugin/theme installers. Inserts condition directly into iframe_header(). Allows show_admin_bar() to be called after init by unsetting wp_admin_bar, thus preventing render once those hooks are fired. see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@15938 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:49:25 +00:00
Andrew Nacin 6eb9fbbd39 Remove post_type params from is_archive(). use is_post_type_archive() for full context. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15937 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 19:20:47 +00:00
Andrew Nacin 6d7366d5fc Move the CPT archive flag outside of the rewrite argument, into its own has_archive. has_archive controls more than just URL rewriting, it also handles whether ?post_type= is treated as a CPT archive. feeds remain in rewrite as ?feed= would work regardless. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15936 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:29:22 +00:00
Andrew Nacin 4d0164db91 Remove some capability_type code in WP_Query. Only build faux caps if we're querying for multiple post types or if the post type object can't be found. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15935 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:16:41 +00:00
Andrew Nacin 7a0720ec5e Allow capability_type to be an array, for odd plural situations such as story/storys/stories. After registration it reverts to a singular string. Lots of documentation for meta capabilities and post types, also some cleanups for register_post_type documentation. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15934 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 18:03:26 +00:00
Andrew Nacin 234efcf413 Use a consistent variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@15933 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 17:51:18 +00:00
Andrew Nacin cfde537391 Don't make redundant str_replace calls in link-template. props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@15932 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 17:13:52 +00:00
scribu f61e045d4d Also convert uppercase letters in Latin Extended-B. See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15931 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 15:36:16 +00:00
scribu e05be05ad8 remove_accents(): Nordic characters fixes. Props einare. Fixes #4739. See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15930 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 13:00:21 +00:00
scribu ed9a39abab Introduce sanitize_title_for_query(). See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@15929 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 12:55:55 +00:00
scribu 3081a12de2 Introduce _qv_basename() and apply it to hierarchical taxonomies. See #9591.
git-svn-id: https://develop.svn.wordpress.org/trunk@15923 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 22:54:05 +00:00
scribu c87a8235ca Remove debugging code in wp_check_term_hierarchy_for_loops(). See #14662
git-svn-id: https://develop.svn.wordpress.org/trunk@15922 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 21:31:57 +00:00
scribu 890c0ead1c Remove misplaced code in WP_Query::parse_tax_query(). See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15921 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 21:17:09 +00:00
Ryan Boren efdb066697 Do not set role if it is the same. Props nickmomrik. fixes #14708
git-svn-id: https://develop.svn.wordpress.org/trunk@15919 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:38:20 +00:00
Ryan Boren f2dbc7d273 Fix media dialog keyPress handling. Props mdawaffe. fixes #14394
git-svn-id: https://develop.svn.wordpress.org/trunk@15918 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:23:00 +00:00
Ryan Boren fc73604019 Actions for adding and deleting meta. Props wojtek.szkutnik mitchoyoshitaka. fixes #14173
git-svn-id: https://develop.svn.wordpress.org/trunk@15917 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:18:33 +00:00
Ryan Boren 3e32b5318a Use underscore separator
git-svn-id: https://develop.svn.wordpress.org/trunk@15916 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 19:10:23 +00:00
Ryan Boren 1926094622 Fix attribute spacing. Props Utkarsh. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15915 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 18:59:06 +00:00
Ryan Boren 3507043ba1 Remove redundant logged in check. Props neoxx. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15914 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 18:42:26 +00:00
Dion Hulse 80fc91b2ed Support wildcard domains in WP_PROXY_BYPASS_HOSTS and WP_ACCESSIBLE_HOSTS. Fixes #14636
git-svn-id: https://develop.svn.wordpress.org/trunk@15911 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 10:27:35 +00:00
Andrew Nacin 146a8cf16c Revisions and attachments should also generate meta capabilities as part of their cap object. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15909 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-22 00:25:14 +00:00
Andrew Nacin 7e48ac3e78 Pruning shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15904 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 19:55:28 +00:00
Andrew Nacin 6a5a1b338b s/ms-options/settings. props PeteMall, fixes #14826.
git-svn-id: https://develop.svn.wordpress.org/trunk@15899 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 17:09:15 +00:00
Andrew Nacin 96052a12a5 Only dumb down delete_others_posts if it deserves to exist. fixes a notice. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15897 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 16:28:35 +00:00
Andrew Nacin 6d20960c97 Pass user object through _wp_get_user_contactmethods() to the user_contactmethods filter. props aaroncampbell, fixes #15186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15896 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:42:06 +00:00
Andrew Nacin c5b02e9685 Clean up get_post_type_capabilities. Don't bother with new capabilities for edit_others_posts and delete_others_posts if the post type does not support authors.
git-svn-id: https://develop.svn.wordpress.org/trunk@15892 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 15:05:10 +00:00
Andrew Nacin 3732810a25 Only check the post author if the post type supports authors. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15891 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:55:15 +00:00
Andrew Nacin 71ebaa6170 Rough first pass on map_meta_cap for custom post types. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15890 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:40:04 +00:00
scribu 8315655230 Revert accidental changes to WP_Query made in [15887]. See #14163
git-svn-id: https://develop.svn.wordpress.org/trunk@15888 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:06:52 +00:00
scribu a3ef15ffc0 Allow filtering comments by user_id via URL. Props neoxx. Fixes #14163
git-svn-id: https://develop.svn.wordpress.org/trunk@15887 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 14:03:25 +00:00
Andrew Nacin 142fcc3a35 Fix html in WP_Object_Cache::stats. props Utkarsh, fixes #15183.
git-svn-id: https://develop.svn.wordpress.org/trunk@15884 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:15:24 +00:00
Andrew Nacin f77e992298 Kill off get_users_of_blog args argument.
git-svn-id: https://develop.svn.wordpress.org/trunk@15883 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:12:05 +00:00
Ryan Boren 682376a2ae Use get_users() instead of get_users_of_blog(). Props scribu. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15882 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 13:08:47 +00:00
Mark Jaquith 9a7f5ef8df Push capital P filter back behind the wpautop one to catch Wordpress after opening HTML tag
git-svn-id: https://develop.svn.wordpress.org/trunk@15877 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 22:44:15 +00:00
Ryan Boren 76b207939d Add query args argument to get_users_of_blog(). Limit number of users fetched for user lists in sites table and edit blog form. see #15053
git-svn-id: https://develop.svn.wordpress.org/trunk@15876 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:43:32 +00:00
Ryan Boren 4c3535a58d Update network-wide active user and blog counts via a cron job to avoid costly count queries. see #15170
git-svn-id: https://develop.svn.wordpress.org/trunk@15875 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 20:22:14 +00:00
scribu 188f3458f9 Fix tax=term1+term2 queries. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15874 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 19:00:57 +00:00
Andrew Nacin 4568da6764 Make get_users arg optional. props duck_. see #14572.
git-svn-id: https://develop.svn.wordpress.org/trunk@15873 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 17:21:06 +00:00
Ryan Boren 386694bb79 Schedule update checks from an init hook. see #15148
git-svn-id: https://develop.svn.wordpress.org/trunk@15872 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 16:50:57 +00:00
Peter Westwood 18fb594129 Fix variable mis-name.
git-svn-id: https://develop.svn.wordpress.org/trunk@15865 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:38:50 +00:00
Ryan Boren debdb6e258 Equal equal equal. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15864 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:27:55 +00:00
Ryan Boren 74ef68d6ce show_admin_bar(). see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15863 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:23:39 +00:00
Ryan Boren 8dcf52eeec admin_bar_init action. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15862 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 13:07:54 +00:00
scribu 49a2a5e3dd Get rid of $taxonomy_query_vars altogether. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15861 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 12:12:31 +00:00
scribu 2b08f69b50 Fix 'taxonomy' and 'term' query var logic. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15860 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 12:07:23 +00:00
Andrew Nacin 0aba879b95 Remove Lucida Grande from the sans serif font stack. fixes #8352, props iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@15858 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 10:30:28 +00:00
Andrew Nacin 95ac3fc067 Body classes for custom taxonomies and terms. props nkuttler, fixes #15017.
git-svn-id: https://develop.svn.wordpress.org/trunk@15856 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-20 09:32:16 +00:00
scribu 5242abafb1 Make $id arg optional in the_terms(). Fixes #15160
git-svn-id: https://develop.svn.wordpress.org/trunk@15855 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 22:46:26 +00:00
scribu 3b3a5e8461 Correct dockblock for the_terms()
git-svn-id: https://develop.svn.wordpress.org/trunk@15854 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 22:41:34 +00:00
scribu c5520dab32 Don't stomp on posts_per_page in get_posts(). Props bobbyblade. Fixes #15150
git-svn-id: https://develop.svn.wordpress.org/trunk@15852 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 17:08:32 +00:00
Ryan Boren 15cda12c28 Lose get_ordered_blogs_of_user() and set_visibility(). Not using them yet. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15851 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 15:32:33 +00:00
scribu 6b80426cfa Re-add the ability to filter by 'taxonomy' and 'term' query vars. Fixes #13582. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15850 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 14:41:30 +00:00
Dion Hulse 1027248cee Limit wp_old_slug_redirect() to redirecting to only posts of the same post_type kind. See #15140
git-svn-id: https://develop.svn.wordpress.org/trunk@15848 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 10:27:34 +00:00
Dion Hulse f5b6addcdb Fix current-cat & current-cat-parent classes for Category listings for non-category taxonomies. General cleanup of wp_list_categories() sanity checking. Props TheDeadMedic for the initial taxonomy patch. Fixes #15143
git-svn-id: https://develop.svn.wordpress.org/trunk@15847 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 10:10:11 +00:00
Andrew Nacin 443d5fc7d8 Doc fixes for wp_find_hierarchy_loop. props mdawaffe, fixes #14662.
git-svn-id: https://develop.svn.wordpress.org/trunk@15846 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 08:16:10 +00:00
Andrew Nacin 22ba9295bf Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145.
git-svn-id: https://develop.svn.wordpress.org/trunk@15844 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:58:02 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Andrew Nacin fc71934f11 Full @since's for 3.1.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@15842 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:38:42 +00:00
Andrew Nacin 44bf886cb9 Inline docs for _get_last_post_time helper.
git-svn-id: https://develop.svn.wordpress.org/trunk@15841 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:35:12 +00:00
Andrew Nacin 8a4fe8b2a0 Restore jQ noConflict. props filosofo, fixes #15147.
git-svn-id: https://develop.svn.wordpress.org/trunk@15840 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:26:52 +00:00
scribu dfbe420d9c Get rid of wp_cache_key(), as it's not really that useful. See [15838]
git-svn-id: https://develop.svn.wordpress.org/trunk@15839 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 21:54:39 +00:00
scribu e62f41c374 Fix custom post type feed when no regular posts present. Props aaroncampbell for initial patch. Fixes #14922
git-svn-id: https://develop.svn.wordpress.org/trunk@15838 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 21:06:49 +00:00
Ryan Boren d5bd0ffd71 Introduce schedule_event filter. fixes #15146
git-svn-id: https://develop.svn.wordpress.org/trunk@15837 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 20:50:35 +00:00
Ryan Boren 122a2981c4 Allow flagging of a blog as mature via a URL. Move some actions into update_blog_status(). Props Viper007Bond. fixes #14385
git-svn-id: https://develop.svn.wordpress.org/trunk@15836 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 18:53:47 +00:00
Ryan Boren 77b8718db9 Remove get_current_screen() call
git-svn-id: https://develop.svn.wordpress.org/trunk@15835 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 18:23:46 +00:00
Ryan Boren 8b610e7c83 Allow turning off the admin bar via WP_SHOW_ADMIN_BAR constant, no_admin_bar() function, or show_admin_bar filter. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15834 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 17:58:36 +00:00
Ryan Boren cdafd5fe89 Cache invalidation for get_blogs_of_user(). fixes #14379
git-svn-id: https://develop.svn.wordpress.org/trunk@15833 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 17:11:00 +00:00
Dion Hulse 5a1373ddd6 Use $wpdb->prepare in wp_old_slug_redirect(). See #15140
git-svn-id: https://develop.svn.wordpress.org/trunk@15832 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 11:44:19 +00:00
Dion Hulse 846ef7d8c3 Save _wp_old_slug for all published post_type's, brings old-slug redirection to Posts and CPT's. See #15140
git-svn-id: https://develop.svn.wordpress.org/trunk@15831 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-18 11:24:29 +00:00
scribu 9cd7bdec08 Apply filter in plugin_basename(). Props vladimir_kolesnikov. Fixes #13550
git-svn-id: https://develop.svn.wordpress.org/trunk@15829 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 13:47:40 +00:00
Andrew Nacin b7ffec08f8 Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837.
git-svn-id: https://develop.svn.wordpress.org/trunk@15828 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 07:12:34 +00:00
Dion Hulse a5da762a4e Prevent notices on non-existent Term locations (such as /tag/404-non-existant-term/)
git-svn-id: https://develop.svn.wordpress.org/trunk@15827 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 06:14:58 +00:00
Dion Hulse 20e3b23a80 Remove missed tokens in [15825]. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15826 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 06:10:53 +00:00
Dion Hulse d7b230ca26 Merge Category/Tag URL creation/rewriting into general Taxonomy system. Removes the legacy handling for these url's. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15825 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 05:41:22 +00:00
Dion Hulse a47b78e95b Move hierarchical_url to $args['rewrite']['hierarchical']
git-svn-id: https://develop.svn.wordpress.org/trunk@15824 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 04:36:26 +00:00
Andrew Ozz 839bad194f Editor: stop inserting empty paragraphs before/after captioned images, see #15095
git-svn-id: https://develop.svn.wordpress.org/trunk@15822 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 22:11:31 +00:00
Andrew Nacin e2ecc45d62 jQuery 1.4.3. props demetris. fixes #15135.
git-svn-id: https://develop.svn.wordpress.org/trunk@15821 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 14:05:58 +00:00
Andrew Nacin 38092bb128 Custom post type archives, second pass. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15819 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 19:44:57 +00:00
Ryan Boren 227e02298a nav_menu and post_format taxonomies should not be public. fixes #15107
git-svn-id: https://develop.svn.wordpress.org/trunk@15818 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:53:55 +00:00
Ryan Boren fe2b97b594 Remove dead code from get_next_posts_link(). Props filosofo. fixes #14850
git-svn-id: https://develop.svn.wordpress.org/trunk@15817 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:43:31 +00:00
Ryan Boren d66fa94a75 Improve regex performance in wptexturize(). Props mdawaffe. fixes #15093
git-svn-id: https://develop.svn.wordpress.org/trunk@15816 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:34:38 +00:00
Peter Westwood 8e5e7a83aa Group the quicktags js. Fixes #15124.
git-svn-id: https://develop.svn.wordpress.org/trunk@15814 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 13:43:34 +00:00
Andrew Nacin 85d1a2b5b4 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@15813 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 08:55:06 +00:00
Andrew Nacin dde4381c70 Use map_meta_cap for multisite super admins in current_user_can_for_blog. props jamescollins, see #15122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15812 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 06:47:40 +00:00
Peter Westwood 1da3c94e55 Display mysql_connect errors when WP_DEBUG is enabled. Fixes #14654 props lloydbudd and hakre
Always die if we can't connect to the db no point in going any futher.

git-svn-id: https://develop.svn.wordpress.org/trunk@15808 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 18:47:39 +00:00
Ryan Boren 8e1da911a2 Prevent post and term hierarchy loops. Props mdawaffe. fixes #14662
git-svn-id: https://develop.svn.wordpress.org/trunk@15806 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 15:09:04 +00:00
Andrew Nacin cb3396d39c Use correct variable. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15804 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 11:31:48 +00:00
Andrew Nacin 86ab32a196 Custom post type archives. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15803 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 10:39:47 +00:00
scribu ba394c63a4 Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
git-svn-id: https://develop.svn.wordpress.org/trunk@15801 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 08:47:41 +00:00
scribu 2e0bd92a09 get_edit_term_link() improvements:
* add optional $object_type parameter
	* make $term_id and $taxonomy parameters mandatory
	* pass all relevant information to the filter
	* use in WP_Terms_Table
See #9702


git-svn-id: https://develop.svn.wordpress.org/trunk@15800 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 07:35:13 +00:00
Ryan Boren cd1fc3faa2 Don't hide empty terms when determing exclude trees. Props layotte. fixes #14446
git-svn-id: https://develop.svn.wordpress.org/trunk@15797 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 20:12:20 +00:00
scribu 50a6be80d4 Don't look in in WP->parse_request(). See #15112
git-svn-id: https://develop.svn.wordpress.org/trunk@15796 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 16:55:58 +00:00
scribu ea756a6b40 Sacrifice DRY for readability in WP_Query. Props nacin for initial patch. See #14997
git-svn-id: https://develop.svn.wordpress.org/trunk@15795 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 16:37:01 +00:00
scribu d5e50c918b Add posts_clauses_request filter too. Props hakre. See #14997
git-svn-id: https://develop.svn.wordpress.org/trunk@15794 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 15:49:26 +00:00
scribu 0ed3d0b176 Don't attempt to convert objects to strings in WP->parse_request(). Fixes #14330
git-svn-id: https://develop.svn.wordpress.org/trunk@15793 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 15:21:19 +00:00
scribu 057abe87e0 Introduce edit_term_link() and get_term_url(). Props yoast. Fixes #9702
git-svn-id: https://develop.svn.wordpress.org/trunk@15792 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 14:54:21 +00:00
scribu 6d33bb68e9 Restore previous filter order in WP_Query. See #14997
git-svn-id: https://develop.svn.wordpress.org/trunk@15791 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 13:45:53 +00:00
Andrew Nacin 5e37bb785a s/showposts/posts_per_page/
git-svn-id: https://develop.svn.wordpress.org/trunk@15788 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 05:25:00 +00:00
scribu e87af16398 first pass at strength indicator on password reset. see #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15782 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 21:37:01 +00:00
scribu 33077f83fa move password-strength-meter.js into user-profile.js. See #5919
git-svn-id: https://develop.svn.wordpress.org/trunk@15780 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 20:29:19 +00:00
Ryan Boren 40dade4c0e Allow deleting a format. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@15779 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 19:43:54 +00:00
Ryan Boren 0ccec0d6f1 has_post_format(). see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@15778 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 19:25:58 +00:00
Ryan Boren b1beb9c211 Post formats, take one. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@15777 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-12 18:33:14 +00:00
scribu 53d8aaf3fc Introduce wp_query_clauses filter. Fixes #14997
git-svn-id: https://develop.svn.wordpress.org/trunk@15775 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 15:04:44 +00:00
scribu b3bcb5f77e Remove redundant call to function_exists() in wp_nav_menu(). Fixes #15094
git-svn-id: https://develop.svn.wordpress.org/trunk@15774 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 13:21:08 +00:00
scribu 253cc18443 don't re-urlencode taxonomy query vars. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15773 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 12:18:42 +00:00
Andrew Nacin 2657fa5a5b Make it explicit that you can set fallback_cb to false in wp_nav_menu.
git-svn-id: https://develop.svn.wordpress.org/trunk@15772 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-11 03:16:45 +00:00
scribu e5354a9e00 Allow string as first parameter to locate_template(). Props chrisbliss18 for initial patch. Fixes #15061
git-svn-id: https://develop.svn.wordpress.org/trunk@15771 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-10 22:10:36 +00:00
scribu 6e89ca7bff Make parse_reques() set empty variables. Props filosofo for initial patch. Fixes #10710
git-svn-id: https://develop.svn.wordpress.org/trunk@15770 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-10 20:02:26 +00:00
Andrew Nacin e47fb410bc s/blog/site/ on the admin bar code. props markmcwilliams, see #14772.
git-svn-id: https://develop.svn.wordpress.org/trunk@15769 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 12:22:00 +00:00
scribu a080a0a289 Fix warning caused by empty meta query. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15768 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 12:18:52 +00:00
Andrew Nacin 69b3664fe0 esc_html in WP_Object_Cache::stats(). fixes #15003.
git-svn-id: https://develop.svn.wordpress.org/trunk@15767 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 11:38:12 +00:00
scribu a3ee8cac1a Get rid of redundant $this->meta_query. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15766 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 10:48:13 +00:00
scribu c4a14ee8d9 Get rid of redundant ->tax_query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15765 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 10:19:15 +00:00
Dion Hulse f8be3f9fd1 Standardise on ->user->domain and ->user->account_domain being trailingslash'd. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15760 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-09 05:25:09 +00:00
Ryan Boren 3a8fb669cb Some more hierarchy loop detection.
git-svn-id: https://develop.svn.wordpress.org/trunk@15758 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 16:22:14 +00:00
Andrew Nacin a1cd90933d s/Wether/Whether/
git-svn-id: https://develop.svn.wordpress.org/trunk@15756 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:35:06 +00:00
Andrew Nacin b040a1790a Add NOT LIKE/BETWEEN/IN. props AaronCampbell, fixes #9124.
git-svn-id: https://develop.svn.wordpress.org/trunk@15755 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-08 02:27:22 +00:00
scribu ccbf85c82d Remove debug cruft introduced by [15751]. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15752 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 21:50:32 +00:00
scribu f4ed3e239c Add 'tax_query' as public query var. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15751 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 21:47:52 +00:00
Peter Westwood 3e66b217cc Avoid Notice if the query doesn't have a post set e.g. on a 404 . Fixes #15059 props chrisbliss18.
git-svn-id: https://develop.svn.wordpress.org/trunk@15750 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 21:23:50 +00:00
Peter Westwood bf878cad07 Ensure we don't generate incorrect content types when files are requested with query strings. Fixes #14450 props chrisbliss18.
git-svn-id: https://develop.svn.wordpress.org/trunk@15749 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 21:00:45 +00:00
Ryan Boren 1b7b0e1d7f Unset global variables when they are no longer needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@15747 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 20:12:49 +00:00
Ryan Boren 9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
scribu eb178ad876 More specific selector for checkbox columns. Props Cimmo for initial patch. Fixes #15051
git-svn-id: https://develop.svn.wordpress.org/trunk@15743 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:53:37 +00:00
Andrew Nacin d8596259e2 Sticky post support for post types, first pass. see #12702, props azizur.
git-svn-id: https://develop.svn.wordpress.org/trunk@15742 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 09:10:35 +00:00
Mark Jaquith 4689663e64 Revert accidental inclusion in last commit... [15740]
git-svn-id: https://develop.svn.wordpress.org/trunk@15741 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 08:06:31 +00:00
Mark Jaquith dfa0e20a64 Fix an English fail.
git-svn-id: https://develop.svn.wordpress.org/trunk@15740 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 08:04:15 +00:00
Andrew Nacin 07fca17d6d Some doc updates. see #15048.
git-svn-id: https://develop.svn.wordpress.org/trunk@15739 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 05:59:50 +00:00
Andrew Nacin 6c9318e763 Verify that a widget is draggable before stripping its draggability. props filosofo, see #12863. Fixes widget creation for jQUI 1.8.5; should be fixed in jQUI 1.8.6.
git-svn-id: https://develop.svn.wordpress.org/trunk@15738 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 04:20:19 +00:00
scribu b6c2c3003c Proper handling of array query variables. Props loushou. Fixes #14330
git-svn-id: https://develop.svn.wordpress.org/trunk@15737 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 23:18:42 +00:00
Andrew Nacin 202ec80a4d Shift theme mods to be reliant on the theme slug instead of name. fixes #15048.
git-svn-id: https://develop.svn.wordpress.org/trunk@15736 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 21:00:17 +00:00
scribu bfacb144ae Prevent db error when dealing with unexistant parent term. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15734 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 12:06:23 +00:00
scribu 7cd352d4b8 Better way of settings tax related query flags. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15733 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 11:13:37 +00:00
scribu d6e6296b89 Make hierarchical URLs work for any hierarchical taxonomy. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15732 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 11:04:03 +00:00
scribu 448f74675a Generalize taxonomy queries:
* transform wp_tax_query() into WP_Object_Query::get_tax_sql()
	* create parse_tax_query() method in WP_Query
	* add doc-block for $tax_query and $meta_query
See #15032. See #12891.


git-svn-id: https://develop.svn.wordpress.org/trunk@15731 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-06 10:40:30 +00:00
scribu 5a14ba3fa3 further meta query optimization. props aaroncampbell. fixes #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@15730 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 23:06:20 +00:00
scribu 39d1200d5c Revert part of [15713] to prevent notices. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15729 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 22:42:47 +00:00
Andrew Ozz dc54187c8a Properly reference tinyMCEPreInit in wp-tinymce.js.gz, fixes #15027
git-svn-id: https://develop.svn.wordpress.org/trunk@15728 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-05 17:43:20 +00:00
scribu 73261c879f Don't revalidate $meta_type in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@15726 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 22:51:31 +00:00
scribu ee22465376 Use elseif in get_meta_sql(). Props Viper007Bond. See #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@15725 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 22:47:04 +00:00
scribu 4685506671 Enhance get_meta_sql. Props aaroncampbell. Fixes #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@15724 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 21:37:08 +00:00
scribu 12fdf54fdd Move _wp_search_sql() into WP_Object_Query. Introduce WP_Comment_Search. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@15723 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 21:05:31 +00:00
Andrew Nacin 4360f8c1a4 Use separate ajax spinners for the Save Draft and Publish buttons on the post form. fixes #14582 with initial patch from wojtek.szkutnik.
git-svn-id: https://develop.svn.wordpress.org/trunk@15722 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 20:53:04 +00:00
scribu 7b01cbcc6e Put the simple meta query first, so that orderby=meta_value works even when using 'meta_query'. See #15031
git-svn-id: https://develop.svn.wordpress.org/trunk@15721 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 20:19:21 +00:00
Andrew Nacin 24294c1c83 Account for Twenty Ten in theme name collisions and properly fall back to TT in get_current_theme(). fixes #15719, props tonyf12.
git-svn-id: https://develop.svn.wordpress.org/trunk@15720 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 19:50:13 +00:00
scribu a811171a0c Introduce WP_Object_Query. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@15715 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 18:57:13 +00:00
scribu ec8503802e Strip redundant 'meta_' from 'meta_query' keys. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15714 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 18:26:26 +00:00
scribu 68f22e028e Recognize meta_query as a query var. Props aaroncampbell. Fixes #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15713 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 17:51:17 +00:00
Andrew Nacin 7cac913b3b Restore wp_delete_category. props blepoxp, fixes #15008.
git-svn-id: https://develop.svn.wordpress.org/trunk@15712 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 16:28:01 +00:00
Ryan Boren 27d9e24a11 jQuery UI 1.8.5. Props demetris. fixes #12863
git-svn-id: https://develop.svn.wordpress.org/trunk@15711 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 16:19:18 +00:00
scribu 078cda9275 Fix menu box search. Fixes #14335
git-svn-id: https://develop.svn.wordpress.org/trunk@15709 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 14:17:34 +00:00
Dion Hulse 21bf2e613d Fix canonical redirection for permalinks containing %category% with nested categories and paging. Fixes #13471 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15707 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 11:30:11 +00:00
Dion Hulse 9f034ad032 Revert part of [15703]. The Metadata API doesnt unserialize everything.
git-svn-id: https://develop.svn.wordpress.org/trunk@15706 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 11:00:36 +00:00
Dion Hulse 6ace731ac8 Introduce hierarchical taxonomy URL's, Can be enabled by setting 'hierarchical_url' to true upon taxonomy registration. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15705 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 10:37:25 +00:00
Dion Hulse 996e0020b2 Forgot to change a variable name in [15703]
git-svn-id: https://develop.svn.wordpress.org/trunk@15704 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 10:03:05 +00:00
Dion Hulse 6c9b29e6f3 Simplify get_user_metavalues() to entirely rely upon the Metadata API, Removes a direct SQL Query. de-serializing is handled by the Metadata API now.
git-svn-id: https://develop.svn.wordpress.org/trunk@15703 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:59:53 +00:00
Dion Hulse 761ad85a17 Fix a hard-coded database table typo. s/wp_users/$wpdb->users/
git-svn-id: https://develop.svn.wordpress.org/trunk@15702 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:43:02 +00:00
Dion Hulse 3d2e3625d4 Do not load Taxonomy cache & Postmeta cache in get_boundary_post(). Fixes #15028
git-svn-id: https://develop.svn.wordpress.org/trunk@15701 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:17:18 +00:00
Dion Hulse d837eb9f8f Cache terms under more scenario's in update_post_caches(). Fixes #15026
git-svn-id: https://develop.svn.wordpress.org/trunk@15700 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 08:56:04 +00:00
Dion Hulse 5255794ad1 get_user_metavalues(): Use cached user objects when querying for a single user, Prevents duplicate usermeta queries from Adminbar. Whitespace & s/AS/as/. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15698 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 07:38:32 +00:00
Dion Hulse c20a7fc441 Do not load adminbar css in media uploader. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15696 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:16:33 +00:00
Dion Hulse 57f3dab19d Do not show admin bar in update iframes. See #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15695 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 04:11:34 +00:00
Dion Hulse 7feec6e344 Fix return false; for Adminbar Blog info.
git-svn-id: https://develop.svn.wordpress.org/trunk@15694 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 03:15:35 +00:00
Dion Hulse b10f73b4bc Fix profile link in admin bar. Props mellertime. Fixes #15022
git-svn-id: https://develop.svn.wordpress.org/trunk@15693 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 03:04:28 +00:00
Dion Hulse b5e7866d16 Sanitize meta keynames used as object properties on retrieval. Fixes #14924
git-svn-id: https://develop.svn.wordpress.org/trunk@15692 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 02:55:11 +00:00
Andrew Nacin d2cfd1f678 wp_quickpress_form, first pass. props jorbin. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15691 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 07:41:48 +00:00
Andrew Nacin 6d07d415ec Have wp_delete_category wrap wp_delete_term. Move wp_delete_category into wp-includes scope for consistency. fixes #15008, props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@15690 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 07:29:44 +00:00
Andrew Nacin 6fd30d36ea Docs and breathing room for get_media_buttons() and friends. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15689 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 03:08:39 +00:00
Andrew Nacin ea2f90c70e Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15688 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-03 02:58:59 +00:00
scribu 3791a39615 Allow search in archive pages. Fixes #14831
git-svn-id: https://develop.svn.wordpress.org/trunk@15687 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 22:52:15 +00:00
scribu c063cc13bb Split wp_filter_object_list() into wp_list_filter() and wp_list_pluck(). Fixes #15016
git-svn-id: https://develop.svn.wordpress.org/trunk@15686 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 18:48:51 +00:00
scribu 455d7463c1 Set 'cat' query var for backwards compatibility. Fixes #15007
git-svn-id: https://develop.svn.wordpress.org/trunk@15685 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 18:03:06 +00:00
Andrew Ozz 7636689e49 Properly align all buttons in the TinyMCE dialogs, see #12574
git-svn-id: https://develop.svn.wordpress.org/trunk@15684 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 05:31:42 +00:00
Andrew Ozz 358c7e1885 TinyMCE 3.3 first run
git-svn-id: https://develop.svn.wordpress.org/trunk@15683 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 05:14:12 +00:00
Dion Hulse f96d26ff97 Retire IIS 3,4,5 Set-Cookie redirection workaround. See [2436] for original implementation. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@15682 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 04:02:24 +00:00
Dion Hulse c9ab260ab4 utilise wp_guess_url() in installation redirection to provide an Absolute URL. See #14062. See #14904
git-svn-id: https://develop.svn.wordpress.org/trunk@15680 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-02 03:08:02 +00:00
Ryan Boren 4c2c9bc17d Remove wordpressmu_wp_mail_from(). fixes #14586
git-svn-id: https://develop.svn.wordpress.org/trunk@15678 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 18:32:47 +00:00
Ryan Boren 0cfb13ac25 has_term(). Props ptahdunbar. fixes #12526
git-svn-id: https://develop.svn.wordpress.org/trunk@15677 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 17:44:53 +00:00
scribu 6dd0736429 Add inline documentation for ms-blogs.php. See #14953
git-svn-id: https://develop.svn.wordpress.org/trunk@15676 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-01 01:32:31 +00:00
Andrew Nacin c5de43dced Some phpdoc for ms-functions.php. props boonebgorges. see #14953.
git-svn-id: https://develop.svn.wordpress.org/trunk@15675 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-29 23:44:34 +00:00
scribu 898ba9b2b2 Do thorough resets in init() and init_query_flags(). Props coffee2code. Fixes #14976
git-svn-id: https://develop.svn.wordpress.org/trunk@15672 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 23:48:03 +00:00
Ryan Boren 733af07765 Admin bar, first pass. see #14772
git-svn-id: https://develop.svn.wordpress.org/trunk@15671 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-27 20:26:36 +00:00
Andrew Nacin f445cbf975 Have get_boundary_post sort by post_date, not ID. props scribu, jk0. fixes #14035.
git-svn-id: https://develop.svn.wordpress.org/trunk@15660 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:31:16 +00:00
Dion Hulse ff7ef3edd4 Only show the Password Strength Meter when JavaScript is available. Fixes #14943
git-svn-id: https://develop.svn.wordpress.org/trunk@15659 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-25 10:58:01 +00:00
Ryan Boren 36d2d868d5 Feature filter visuals. First pass. see #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@15656 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 18:50:31 +00:00
scribu d4eecd8787 get_objects_in_term(): include term children when querying by slug. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15654 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 14:08:07 +00:00
Dion Hulse b5f0bf47ac Do not generate invalid SQL for empty term archives. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15652 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 12:09:44 +00:00
Dion Hulse a59d598281 Use the correct term_id field in get_body_class().
git-svn-id: https://develop.svn.wordpress.org/trunk@15651 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-24 11:58:21 +00:00
scribu d004c99ea6 Consistently set $post_type to 'any' when a taxonomy query is involved. See [15649]. See #14589
git-svn-id: https://develop.svn.wordpress.org/trunk@15650 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 23:19:47 +00:00
scribu 9e37c78da3 Set $post_type to 'any' when taxonomies are involved (code resqued from r15613). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15649 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 23:11:49 +00:00
Peter Westwood bf13c1921f Complete the move to a seperate class file for #14820 props filosofo.
Add support for replacing the class used. Fixes #14814 props filosofo.

git-svn-id: https://develop.svn.wordpress.org/trunk@15648 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 21:38:28 +00:00
Peter Westwood 620f094eb7 First part of #14820. Copy the file to preserve history. Props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15647 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-23 21:22:21 +00:00
scribu b7be962c6b Make login css more flexible. Props joelhardi. Fixes #7763
git-svn-id: https://develop.svn.wordpress.org/trunk@15643 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-22 15:26:16 +00:00
Ryan Boren 6121bb1234 Don't fetch theme_roots transient on every page load. Avoid it altogether if there is only one theme dir. fixes #14911
git-svn-id: https://develop.svn.wordpress.org/trunk@15641 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-21 19:41:35 +00:00
Andrew Nacin 6131f69f23 Provide an example for add_role() capabilities argument. props simonwheatley, fixes #14918.
git-svn-id: https://develop.svn.wordpress.org/trunk@15640 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-21 14:52:03 +00:00
Ryan Boren 1b0446409c Revert [15637]. Still needed for PHP4.
git-svn-id: https://develop.svn.wordpress.org/trunk@15639 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 19:17:47 +00:00
Andrew Nacin 5963feeca6 Always include wp-db.php. Prevents a conditional include and allows db dropins to cleanly extend the wpdb class. Move require_wp_db() to load.php for consistency with bootloader helpers. fixes #14508.
git-svn-id: https://develop.svn.wordpress.org/trunk@15638 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 19:13:47 +00:00
Ryan Boren 5207524203 Remove annoying, useless construcotrs. Props Rasmus. http://talks.php.net/show/confoo10/8
git-svn-id: https://develop.svn.wordpress.org/trunk@15637 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 18:53:03 +00:00
Ryan Boren d46e7dbfc0 Speed up is_serialized() with strpbrk(). Props Rasmus. see #14429
git-svn-id: https://develop.svn.wordpress.org/trunk@15636 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 18:11:06 +00:00
Ryan Boren df6d5550db Simplify sanitize_key() and use it in more places. see #14910
git-svn-id: https://develop.svn.wordpress.org/trunk@15635 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-20 15:28:58 +00:00
scribu a6d9954621 Clarify code in wp_load_alloptions(). Props joelhardi. Fixes #14896
git-svn-id: https://develop.svn.wordpress.org/trunk@15634 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-19 11:08:20 +00:00
scribu b55b06e466 Introduce get_ancestors(). Props filosofo. Fixes #12443
git-svn-id: https://develop.svn.wordpress.org/trunk@15631 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-18 19:20:16 +00:00
Andrew Nacin 17e249f359 Fix logic inversion in r15626. see #14892. Also note that r15626 fixed a s/is_category/is_tag/ typo introduced in r6011, on line 1340.
git-svn-id: https://develop.svn.wordpress.org/trunk@15627 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 22:35:05 +00:00
scribu 03a3e5c1d9 Don't require category__in, tag__in etc. to be arrays necessarily. Fixes #14892
git-svn-id: https://develop.svn.wordpress.org/trunk@15626 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 22:27:22 +00:00
scribu c1ce7ddc38 Remove extraneous sanitization of category_name. Leave it to wp_tax_query(). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15625 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 17:07:11 +00:00
scribu 89382ae313 Allow plugins to manipulate the meta query args. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15624 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-17 16:08:35 +00:00
scribu d9039c38d7 Apply filter to wp_get_current_commenter(). Fixes #14878
git-svn-id: https://develop.svn.wordpress.org/trunk@15623 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-16 20:48:18 +00:00
scribu 98d1045606 use get_user_count() in get_sitestats()
git-svn-id: https://develop.svn.wordpress.org/trunk@15621 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 20:13:31 +00:00
scribu 322e323b26 Clean up wp_list_authors(). See #10329
git-svn-id: https://develop.svn.wordpress.org/trunk@15620 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 19:52:25 +00:00
scribu 30581c2d4d Fix border radius in login form. Props filosofo. Fixes #14872
git-svn-id: https://develop.svn.wordpress.org/trunk@15619 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 09:24:11 +00:00
Andrew Nacin 003a617439 Some docs and corrections to _wp_link_page().
git-svn-id: https://develop.svn.wordpress.org/trunk@15617 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:48:38 +00:00
Andrew Nacin b75eb167cd Make note of an optional argument. props hakre, fixes #14870.
git-svn-id: https://develop.svn.wordpress.org/trunk@15616 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 16:22:55 +00:00
scribu 6ffb0e718e Calculate term count using $wp_query->tax_query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15615 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-14 11:34:40 +00:00
scribu 5c95616ce8 Clean up taxonomy queries in WP_Query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@15613 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:44:14 +00:00
scribu 3e1de4ae9a Update Incutio XML-RPC Library to latest version (1.7.4). Props hakre. Fixes #14703
git-svn-id: https://develop.svn.wordpress.org/trunk@15612 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-13 16:36:08 +00:00
scribu 0b09ec156f Apply filters consistently in get_*_template() functions. Fixes #14310
git-svn-id: https://develop.svn.wordpress.org/trunk@15611 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-12 18:46:18 +00:00
Andrew Nacin fc00e5842f More efficient is_super_admin(). Don't call new WP_User on the current user. props mdawaffe, fixes #14842.
git-svn-id: https://develop.svn.wordpress.org/trunk@15608 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 23:24:34 +00:00
Andrew Nacin be0b363c5c Fix UPLOADS constant. see #14840.
git-svn-id: https://develop.svn.wordpress.org/trunk@15607 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-10 20:29:19 +00:00
Mark Jaquith 80055bcec2 wp_dequeue_script() and wp_dequeue_style(). fixes #14815. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15601 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 04:42:47 +00:00
Andrew Nacin 5c05a437a9 Add force_filtered_html_on_import filter. fixes #14818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15600 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-09 02:43:18 +00:00
scribu 23850cf615 Replace is_term() with is_tax(). See #14161
git-svn-id: https://develop.svn.wordpress.org/trunk@15599 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 16:58:58 +00:00
scribu 14a8208e07 Clean up single_cat_title(), single_tag_title() and wp_title(). Fixes #14161
git-svn-id: https://develop.svn.wordpress.org/trunk@15598 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-08 16:21:13 +00:00
scribu b1def7dad8 Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: https://develop.svn.wordpress.org/trunk@15596 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 23:35:28 +00:00
Andrew Nacin 7845df0f09 Return the character range removed in [15594]. fixes #14633, props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@15595 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 17:52:43 +00:00
Andrew Nacin 50194d0c51 Speak in full, clear sentences. props mrmist, fixes #14633.
git-svn-id: https://develop.svn.wordpress.org/trunk@15594 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 15:28:56 +00:00
Andrew Nacin ab35b9ca6d Pass some context to the pre_comment_approved hook. props coffee2code, fixes #14802.
git-svn-id: https://develop.svn.wordpress.org/trunk@15592 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 14:36:35 +00:00
Andrew Nacin 9f77e4b6a0 Only run update checks on the main site. fixes #14554.
git-svn-id: https://develop.svn.wordpress.org/trunk@15591 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 13:43:32 +00:00
Andrew Nacin 9494e4ce7e Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Mark Jaquith 93680ad646 Rename caller_get_posts WP_Query flag to ignore_sticky_posts, because that is the only thing it does. fixes #14624. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15589 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:46:08 +00:00
Mark Jaquith d901f3af6b Duplicate Save button for nav menus at the bottom. fixes #14265. props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@15588 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:40:53 +00:00
Mark Jaquith d07572b3e4 Support custom post type links in wp_list_pages(). fixes #14177. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15587 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:31:07 +00:00
Mark Jaquith e0c7c93fa0 Make the second (taxonomy) parameter for get_term_link() optional if you pass in a term object as the first argument (which has the taxonomy in it). fixes #13081. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15586 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:29:00 +00:00
Mark Jaquith ad682bb2dd More efficient calendar queries. fixes #8351. props vladimir_kolesnikov
git-svn-id: https://develop.svn.wordpress.org/trunk@15585 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:22:56 +00:00
Mark Jaquith b98d713f62 When doing current page highlighting logic, apply untrailingslashit() to everything so that slash additions or omissions still match. fixes #14208. props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@15584 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:17:37 +00:00
Mark Jaquith 400a42ffea Do not cache terms indefinitely... use TTL of one day. fixes #11431. props Denis-de-Bernardy
git-svn-id: https://develop.svn.wordpress.org/trunk@15583 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:13:01 +00:00
scribu bfb520f616 Don't hardcode the pagination base. Fixes #12507
git-svn-id: https://develop.svn.wordpress.org/trunk@15582 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 01:18:42 +00:00
scribu 7ddd031d75 Use _wp_meta_sql() in WP_Query. See #14572. See #14645
git-svn-id: https://develop.svn.wordpress.org/trunk@15581 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-06 11:28:59 +00:00
scribu 8747d3d214 Use multiple JOINs instead of CASE in _wp_meta_sql(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15580 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-06 11:04:50 +00:00
scribu 7168dd09dd Rewrite WP_User_Query to use JOIN instead of subquery. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15579 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-06 08:09:41 +00:00
scribu a258200257 Use get_users() in wp_dropdown_users(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15574 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 18:47:25 +00:00
scribu 54cafea37d Fix meta query in WP_User_Query. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15570 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 15:30:10 +00:00
scribu abe62a803f Don't suppress errors in _wp_meta_sql(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15568 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:54:55 +00:00
scribu 9344ecc8b5 fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: https://develop.svn.wordpress.org/trunk@15567 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:49:52 +00:00
scribu ef3ee6e841 call get_users() from get_users_of_blog()
git-svn-id: https://develop.svn.wordpress.org/trunk@15566 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:35:55 +00:00
scribu 529a40e2b8 introduce _wp_meta_sql(). Preparation for adding blog_id to WP_User_Query. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15565 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 13:31:33 +00:00
Andrew Nacin af29b5d5cf phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 02:45:39 +00:00
Andrew Nacin 457c37ff01 Adjustments to [15549]. See #11624.
git-svn-id: https://develop.svn.wordpress.org/trunk@15563 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-04 15:51:04 +00:00
Andrew Nacin 65fdbfec3f Fix the delete_user meta cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@15561 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-04 12:24:43 +00:00
Andrew Nacin d62e022459 Add a note about REMOTE_ADDR behind proxies.
git-svn-id: https://develop.svn.wordpress.org/trunk@15560 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-03 10:18:32 +00:00
Ryan Boren 21dd6b285a Do not run kses on display filters for front page views. see #14758
git-svn-id: https://develop.svn.wordpress.org/trunk@15559 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-02 15:06:07 +00:00
Ryan Boren b2351693de is_blog_admin(). fixes #14763
git-svn-id: https://develop.svn.wordpress.org/trunk@15558 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-02 15:03:39 +00:00
Ryan Boren a17a25fcef Make smilies links SSL aware. Props tech163. fixes #14360
git-svn-id: https://develop.svn.wordpress.org/trunk@15554 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:26:18 +00:00
Ryan Boren 98e7f76197 Link directly to comment in email notification. Props lancewillett. fixes #12797
git-svn-id: https://develop.svn.wordpress.org/trunk@15553 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:24:41 +00:00
Ryan Boren 6267682e7f Pass more info to notification filters. Props mdawaffe. fixes #14743
git-svn-id: https://develop.svn.wordpress.org/trunk@15552 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:19:15 +00:00
Ryan Boren 54bfddfbfa Cache to site_name instead of current_site_name. Props benward. fixes #14461
git-svn-id: https://develop.svn.wordpress.org/trunk@15551 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:17:20 +00:00
Ryan Boren 954dd7f59d Update last_changed when cleaning comment cache. fixes #14713
git-svn-id: https://develop.svn.wordpress.org/trunk@15550 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-30 19:59:16 +00:00
scribu b3ef955990 Don't use the global anymore. Fixes #11624
git-svn-id: https://develop.svn.wordpress.org/trunk@15549 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 11:57:28 +00:00
scribu fbdaa80fde Always set no_found_rows = true in get_posts(). Fixes #14528
git-svn-id: https://develop.svn.wordpress.org/trunk@15548 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 11:51:02 +00:00
scribu ad904f3307 update WP_Query docs. See #14600
git-svn-id: https://develop.svn.wordpress.org/trunk@15547 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 11:09:18 +00:00
Ryan Boren 9b99bf5f5f Fix typo in [15544]
git-svn-id: https://develop.svn.wordpress.org/trunk@15545 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 16:53:26 +00:00
Nikolay Bachiyski 33cd9f11dd Make menus manipulation easier for plugin developers
* Add a wp_nav_menu_objects filter, which gets a sorted list of all menu node objects in the currently rendered menu
 * Add current, current_item_ancestor and current_item_parent boolean member variables to each menu node object, which are true when the item has the current-menu-item, current-menu-ancestor or current-menu-parent CSS class respectively


git-svn-id: https://develop.svn.wordpress.org/trunk@15544 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 16:13:39 +00:00
scribu 22640aa231 WP_User_Query constructor improvements. Props filosofo. Fixes #14709
git-svn-id: https://develop.svn.wordpress.org/trunk@15543 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 15:41:32 +00:00
scribu 8993abd1be use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15539 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:18:57 +00:00
scribu 072ea8728b Fix weird wrapping of sorting arrow in Chrome. Fixes #14706
git-svn-id: https://develop.svn.wordpress.org/trunk@15538 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 22:11:04 +00:00
Ryan Boren b03d626909 Remove WP_USE_MULTIPLE_DB. Introduce init_charset() and set_charset(). fixes #14672
git-svn-id: https://develop.svn.wordpress.org/trunk@15537 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 18:34:18 +00:00
Mark Jaquith ae2f607f53 Leonard Lin was kind enough to relicense his balanceTags() function as "GPL (any version)" instead of "GPL v2.0." http://github.com/lhl/balanceTags/blob/master/README
git-svn-id: https://develop.svn.wordpress.org/trunk@15536 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 15:43:32 +00:00
Ryan Boren a4ce5b114b is_* WP_Query methods. Props mdawaffe. fixes #14494
git-svn-id: https://develop.svn.wordpress.org/trunk@15531 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 18:05:33 +00:00
scribu 4b4c95799a Rename admin-table.js to list-table.js
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +00:00
scribu b14febd290 munge admin-table.js & minify jquery.query
git-svn-id: https://develop.svn.wordpress.org/trunk@15526 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 21:44:25 +00:00
scribu 83d019c1d9 Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@15515 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:33:56 +00:00
scribu 7bbfb4b5f1 Deprecate get_hidden_columns(). Fixes #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15514 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:30:18 +00:00
scribu b8eb1b6863 Add register_column_headers() and print_column_headers() to deprecated.php to prevent fatal errors in plugins. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15510 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:26:48 +00:00
scribu 2c7897bd78 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:06:51 +00:00
scribu 9685e25bad refactor admin-table.js code
git-svn-id: https://develop.svn.wordpress.org/trunk@15507 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 21:02:24 +00:00
Mark Jaquith ad944bb822 Do not attempt to clear post cache for post ID 0... that will recursively destroy your server
git-svn-id: https://develop.svn.wordpress.org/trunk@15503 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 06:50:53 +00:00
scribu 6d510588aa Safer hierarchical display check. Fixes #14600; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15501 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-16 01:36:21 +00:00
scribu aa7117dfe5 Round th corners. Based on patch by wedsxcrfv. Fixes #14613
git-svn-id: https://develop.svn.wordpress.org/trunk@15498 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 11:02:31 +00:00
scribu 37401689c5 Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu d570886128 Fix ajaxification in network area by using ajaxurl. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15495 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:45:40 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Ryan Boren 27806b68d9 Add user_meta to global groups. see #14475
git-svn-id: https://develop.svn.wordpress.org/trunk@15482 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 21:30:06 +00:00
Ryan Boren edd48280e3 Network Admin, first pass. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15481 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 20:34:54 +00:00
Andrew Nacin 2c326f0a87 Ensure we're checking when looking for is_super_admin() in map_meta_cap(). Bump DB version.
fixes #14454 for trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@15480 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-29 21:58:58 +00:00
Mark Jaquith 59f6264c64 These are not verbs. http://notaverb.com/badbad_verbs
git-svn-id: https://develop.svn.wordpress.org/trunk@15473 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-27 18:02:45 +00:00
Andrew Nacin 85394e795e More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15471 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-25 07:35:59 +00:00
Andrew Nacin 7c3292bb4a Add unregister_nav_menu(). props jorbin, fixes #14001 for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@15467 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 20:50:11 +00:00
Ryan Boren 5b9d2135e6 Temp fix for canonical redirects of taxonomy links containing non-ASCII bases. Props nbachiyski. see #14201
git-svn-id: https://develop.svn.wordpress.org/trunk@15462 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 20:08:21 +00:00
Andrew Nacin 77d5cf7160 Disable the visual editor in iOS. props azaozz, simonwheatley. fixes #13326 for 3.1.
git-svn-id: https://develop.svn.wordpress.org/trunk@15460 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 17:23:44 +00:00
Ryan Boren 9b6a14db22 Clean up wp_update_themes(). Fix reporting of active theme. Props josephscott. fixes #14381 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15455 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 13:24:41 +00:00
Andrew Nacin c9d4749ed7 Doc update for [15402]. fixes #14301.
git-svn-id: https://develop.svn.wordpress.org/trunk@15449 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-21 00:50:01 +00:00
Nikolay Bachiyski e1e6ce1e97 Do not include newline character in the beginning if the database error string
git-svn-id: https://develop.svn.wordpress.org/trunk@15447 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 20:35:15 +00:00
Ryan Boren 8915af45b3 Remove rededundant code. see #14292
git-svn-id: https://develop.svn.wordpress.org/trunk@15444 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-18 14:06:14 +00:00
Ryan Boren 02580f7b0b Hex octets are case-insenstive. Don't 301 when the only octet case differs. Props hakre. fixes #14292 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15437 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-18 13:46:35 +00:00
Peter Westwood 785c20b082 Remove debug cruft. See #14315 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@15435 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-17 11:13:35 +00:00
Peter Westwood 8d72c5172c Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for trunk props dougal.
git-svn-id: https://develop.svn.wordpress.org/trunk@15433 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-16 09:40:09 +00:00
Ryan Boren 70358dc160 If category already exists, return its ID. Restores previous behavior. fixes #14067 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15425 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 14:12:23 +00:00
Andrew Nacin 0d687968ef get_post_permalink() should take a post ID and pass the post object to the filter. Note that the filter received a post object previously as the variable. props filosofo, fixes #14299 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15411 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:56:49 +00:00
Andrew Nacin 6e5abae06a Don't throw 404 in the backend. fixes #14088 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15409 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:47:12 +00:00
Andrew Nacin 0e2a53e8c9 Prevent the same menu item from receiving duplicate IDs if the menu is used twice. All menu items now get a class with their post ID; only the first item now gets an ID. fixes #13976 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15407 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:30:59 +00:00
Ryan Boren 4fb68cd5e8 Sanity check properties in wp_get_single_post(). Props filosofo. fixes #13904 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15405 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:30:09 +00:00
Andrew Nacin 97366f31f0 Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15404 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:27:05 +00:00
Andrew Nacin dc3140a664 Have wp_set_post_terms return wp_set_object_terms. fixes #14301.
git-svn-id: https://develop.svn.wordpress.org/trunk@15402 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:01:48 +00:00
Ryan Boren d079129f86 Perform strict equality comparison. Props shawnparker. fixes #13350 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15389 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:28:31 +00:00
Ryan Boren 8d9d4817a3 Add equal sign to blacklist. Props Pádraic Brady. for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15383 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 14:30:39 +00:00
Mark Jaquith 15b414837c More judicious Wordpress-to-WordPress correction, to avoid bungling reasonable URLs. fixes #13971
git-svn-id: https://develop.svn.wordpress.org/trunk@15377 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-08 19:35:29 +00:00
Andrew Nacin 60c561889b Pass feed type from the_content_feed to get_the_content_feed. props peaceablewhale, fixes #14214.
git-svn-id: https://develop.svn.wordpress.org/trunk@15371 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 20:41:07 +00:00
Andrew Nacin fb83a22b94 Restore trackback_rdf(). reverts [13991]. fixes #11139 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15363 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-03 05:55:04 +00:00
Dion Hulse fd8152d074 Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
git-svn-id: https://develop.svn.wordpress.org/trunk@15362 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-02 07:52:14 +00:00
Ryan Boren c6f385ea6a Don't use deprecated function. Blacklist curlies.
git-svn-id: https://develop.svn.wordpress.org/trunk@15356 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 17:46:37 +00:00
Dion Hulse 7efc4efdaa Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 00:05:18 +00:00
Dion Hulse 3562ac632d And the rest of r15353. See #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15354 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 23:54:39 +00:00
Dion Hulse d12bd7a07e Tabs are so much nicer than spaces.. Props jorbin. Fixes #14147
git-svn-id: https://develop.svn.wordpress.org/trunk@15353 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 23:52:33 +00:00
Ryan Boren 44a502207a Use get_post_types() to create list of hierarchical post types. fixes #14079 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15348 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 14:10:54 +00:00
Andrew Nacin 1a1a241eb3 Deprecated doc cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@15344 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-28 10:11:41 +00:00
Andrew Nacin 1dcaee88f4 Remove a @todo. see #14014.
git-svn-id: https://develop.svn.wordpress.org/trunk@15333 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:25:29 +00:00
Ryan Boren 01443b68b3 Fix inverted logic in [15331]. see #13934
git-svn-id: https://develop.svn.wordpress.org/trunk@15332 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:17:33 +00:00
Ryan Boren f338e835a2 Don't perform current user ops in switch_to_blog() or restore_current_blog() if init hasn't fired. Avoids wp_get_current_user() not defined error when those functions are run before init. Ops on current user prior to init are meaningless anyway. see #13934
git-svn-id: https://develop.svn.wordpress.org/trunk@15331 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:16:06 +00:00
Andrew Nacin 8c3323da0a WPMU->Network Codex link updates. props wpmuguru, see #14014 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15330 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 16:15:43 +00:00
Ryan Boren d397a1c20d Fix is_site_admin() when passing a username. Props francescolaffi. fixes #14046
git-svn-id: https://develop.svn.wordpress.org/trunk@15328 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 15:11:36 +00:00
Andrew Nacin 8a0c54e243 Fix typo in php comment. props Utkarsh, fixes #14072.
git-svn-id: https://develop.svn.wordpress.org/trunk@15325 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 06:26:40 +00:00
Ryan Boren e8b8d9773a Fix current page detection for home when index.php is in the requested URL. Props filosofo. fixes #13977 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15320 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 17:39:29 +00:00
Ryan Boren fdc775d75e Filter title for Custom Menu widget. Props jorbin. fixes #14009 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15316 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:07:11 +00:00
Ryan Boren 494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Ryan Boren 58fb5bb514 Pass ID to is_super_admin(). Props bigdawggi. fixes #14066 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15311 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 14:49:23 +00:00
Andrew Nacin 6611e799ea Some whitespace in WP_HTTP. props hakre, see #13897.
git-svn-id: https://develop.svn.wordpress.org/trunk@15309 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 14:26:57 +00:00
Andrew Nacin c118ae7ec8 Assign menu-item-home also when menu item isn't current. props filosofo, see #14053 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15302 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-22 22:05:43 +00:00
Dion Hulse e22a4707bf Fix typo in wpmu_signup_blog_notification() and wpmu_signup_user_notification(). Props mdawaffe. Fixes #14002 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15290 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:12:03 +00:00
Dion Hulse b690dd5bfe Some coding standards cleanups for WP_HTTP. Props hakre for initial patch. See #13897
git-svn-id: https://develop.svn.wordpress.org/trunk@15285 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:02:09 +00:00
Dion Hulse ef753d5a64 Fix typo in HTTP Class. Props filosofo. Fixes #13897 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15284 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 06:54:21 +00:00
Andrew Nacin 84ff7671a8 Blacklist remove_theme_support('menus'), used internally. fixes #13935 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15277 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-18 05:37:45 +00:00
Ryan Boren 99e5c267c4 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15275 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 19:27:56 +00:00
Ryan Boren d34dbc8791 3.0
git-svn-id: https://develop.svn.wordpress.org/trunk@15272 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 15:59:07 +00:00
Ryan Boren 509ea7fb71 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15270 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 22:21:08 +00:00
Ryan Boren 58a038d2ad Avoid var name collision. see #13929
git-svn-id: https://develop.svn.wordpress.org/trunk@15269 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 21:46:42 +00:00
Ryan Boren 61ac7c90b0 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15267 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:45:57 +00:00
Ryan Boren dbbc8adb90 Make dbh parameter to select optional for plugin back compat. Don't pass by ref to preserve PHP 4 support. fixes #13914
git-svn-id: https://develop.svn.wordpress.org/trunk@15266 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:28:01 +00:00
Ryan Boren 7def07393e Retern variable to avoid notice in PHP 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@15265 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 19:11:44 +00:00
Andrew Nacin 3e337cf0fb Two birds with one stone. fixes #13902, props ocean90, wahgnube. fixes #13555, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@15264 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:31:44 +00:00
Mark Jaquith 8abb12ffc6 Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: https://develop.svn.wordpress.org/trunk@15263 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:07:02 +00:00
Ryan Boren ab9c5796b3 Remove trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@15259 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 23:39:35 +00:00
Ryan Boren 6bb32c81fc Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15258 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 21:41:11 +00:00
Ryan Boren 1a56928cf9 Menu ancestor fixes. Props filosofo. fixes #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@15257 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 21:19:55 +00:00
Andrew Nacin 3ba32595f1 Add missing filter to wp_get_nav_menu_items(). props filosofo, fixes #13858.
git-svn-id: https://develop.svn.wordpress.org/trunk@15256 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 20:50:55 +00:00
Andrew Nacin 42ee42dee0 Fix IE8 line-height of title input. props ocean90, fixes #13890.
git-svn-id: https://develop.svn.wordpress.org/trunk@15255 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 20:48:24 +00:00
Andrew Nacin 09f7a954bf Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: https://develop.svn.wordpress.org/trunk@15254 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:52:30 +00:00
Andrew Nacin eb1311849e Treat trash/untrash of posts associated with media items the same as other stati changes. props koopersmith, see #13822.
git-svn-id: https://develop.svn.wordpress.org/trunk@15249 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:33:48 +00:00
Dion Hulse 0242479630 Fix PHP Notice in Revisions comparison. Props filosofo. Fixes #13853
git-svn-id: https://develop.svn.wordpress.org/trunk@15246 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 01:34:18 +00:00
Mark Jaquith 35e4e2e6c5 Update jQuery UI to 1.7.3 (small maintenance update with three little changes). props aaroncampbell. fixes #13868
git-svn-id: https://develop.svn.wordpress.org/trunk@15243 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 10:39:20 +00:00
Peter Westwood 8192256e85 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15241 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 21:25:48 +00:00
Andrew Nacin 10e6b2fbcd Fix two sprintf placeholders in a WP_I18N string. props demetris, fixes #13865.
git-svn-id: https://develop.svn.wordpress.org/trunk@15240 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 21:00:08 +00:00
Ryan Boren cd762781bd RC3
git-svn-id: https://develop.svn.wordpress.org/trunk@15237 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 20:30:04 +00:00
Ryan Boren 82be9621ec Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 20:19:35 +00:00
Ryan Boren 895e6c5dfe Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15234 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 18:17:23 +00:00
Ryan Boren 7b7115867e Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15232 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 18:07:15 +00:00
Peter Westwood 2eb10a9ab8 Fell the dead wood. No point keeping a function as deprecated we only just introduced. See #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15230 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:55:08 +00:00
Andrew Nacin ec9f6d34cb Don't use deprecated functions. props filosofo, fixes #13854.
git-svn-id: https://develop.svn.wordpress.org/trunk@15229 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:49:35 +00:00
Andrew Nacin e45ec0a52c Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: https://develop.svn.wordpress.org/trunk@15227 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:04:06 +00:00
Ron Rennick f08169848f fix warning when page on front missing, see #13830
git-svn-id: https://develop.svn.wordpress.org/trunk@15224 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:30:59 +00:00
Ron Rennick f99bbae9b2 add ancestor classes for taxonomy objects, props filosofo, fixes #13831
git-svn-id: https://develop.svn.wordpress.org/trunk@15221 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:00:29 +00:00
Ryan Boren fc2793bd46 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:53:41 +00:00
Ron Rennick 9c74b84590 hide unpublished items on frontend nav menus, props filosofo, fixes #13822
git-svn-id: https://develop.svn.wordpress.org/trunk@15219 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:34:32 +00:00
Dion Hulse 6c71a5d1e4 re-minify wp-admin.dev.css after r15215. See #12225
git-svn-id: https://develop.svn.wordpress.org/trunk@15216 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 12:42:40 +00:00
Andrew Nacin e8f7f12adf Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15214 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 05:19:36 +00:00
Andrew Nacin 28d8b1a98e Fix admin menu background for long names. props JohnONolan, fixes #13803.
git-svn-id: https://develop.svn.wordpress.org/trunk@15206 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 00:42:09 +00:00
Peter Westwood fe819901bb O'Malley sez bump me pls
git-svn-id: https://develop.svn.wordpress.org/trunk@15204 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:43:47 +00:00
Ron Rennick 4a03295c8d allow custom content dir in WP 3.0 main site, fixes #13733
git-svn-id: https://develop.svn.wordpress.org/trunk@15197 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 19:37:51 +00:00
Andrew Nacin 2621ba04fe Improve the custom background front-end callback. Also, background-attachment should default to scroll, not fixed. fixes #13751.
git-svn-id: https://develop.svn.wordpress.org/trunk@15196 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 18:28:25 +00:00
Andrew Nacin a53e7e3018 Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15193 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:57:30 +00:00
Andrew Nacin 646aaa1d62 Don't specify a background for the default RSS widget's icon. props lancewillet, fixes #13719.
git-svn-id: https://develop.svn.wordpress.org/trunk@15192 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:49:55 +00:00
Andrew Nacin 9d38c0af9e Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805.
git-svn-id: https://develop.svn.wordpress.org/trunk@15190 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 16:07:33 +00:00
Ryan Boren 9319e06698 Fix global post stomping in get_post(). Turn get_page() into an alias of get_post(). Props westi. fixes #13753
git-svn-id: https://develop.svn.wordpress.org/trunk@15188 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 14:55:26 +00:00
Ryan Boren d61154542c Remove old hidden columns usermeta keys. fixes #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15187 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 14:41:51 +00:00
Ron Rennick d6d9bf32ff removed unused validation from activation process, see #13760
git-svn-id: https://develop.svn.wordpress.org/trunk@15186 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 00:10:12 +00:00
Ryan Boren 64eb8f7159 Allow assigning an empty menu to a location. fixes #13787
git-svn-id: https://develop.svn.wordpress.org/trunk@15184 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 22:05:27 +00:00
Peter Westwood 4842b87cf9 Mr Bump says hai!
git-svn-id: https://develop.svn.wordpress.org/trunk@15182 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 21:02:48 +00:00
Andrew Nacin 5d8d6a9095 Script bump for [15176] and use existing naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@15177 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 04:01:12 +00:00
Ryan Boren 1a68c0e8bb Update get_current_user_id() and move to user.php. Props filosofo. fixes #13785
git-svn-id: https://develop.svn.wordpress.org/trunk@15174 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 15:12:15 +00:00
Ryan Boren 1006d5b101 Don't force post_status to publish for custom taxonomy queries. fixes #13755
git-svn-id: https://develop.svn.wordpress.org/trunk@15173 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 14:08:33 +00:00
Ryan Boren 33e3846eb6 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15172 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 14:02:44 +00:00
Ryan Boren ce41df6dd6 Resurrect get_blog_list() and get_most_active_blogs() but leave deprecated. Props ocean90. fixes #13773
git-svn-id: https://develop.svn.wordpress.org/trunk@15170 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 13:56:20 +00:00
Ryan Boren c0570f3494 phpdoc fix. Props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@15169 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 13:24:20 +00:00
Ryan Boren c7be6ba80f Deprecate get_most_active_blogs() and get_blog_list(). Props ocean90. fixes #13773
git-svn-id: https://develop.svn.wordpress.org/trunk@15168 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 13:00:09 +00:00
Dion Hulse e4b69457fb Use the correct variable name. See #13778
git-svn-id: https://develop.svn.wordpress.org/trunk@15167 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 11:04:51 +00:00
Dion Hulse f178115189 Use the correct variable name. Props ScottMac. Fixes #13778
git-svn-id: https://develop.svn.wordpress.org/trunk@15166 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 11:02:17 +00:00
Andrew Nacin 1752cea413 Fix phpdoc typo. props demetris, fixes #13781.
git-svn-id: https://develop.svn.wordpress.org/trunk@15165 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 07:44:50 +00:00
Andrew Nacin 13d99f9a4b ++;
git-svn-id: https://develop.svn.wordpress.org/trunk@15161 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-07 17:41:39 +00:00
Ryan Boren e8b955bd48 Typo fix. Props pedger, mattsains. fixes #13740
git-svn-id: https://develop.svn.wordpress.org/trunk@15149 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 14:44:48 +00:00
Andrew Nacin 6f57a1a3ec s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: https://develop.svn.wordpress.org/trunk@15148 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 05:16:32 +00:00
Andrew Nacin a7ba59dbf1 Script bumps for [15146].
git-svn-id: https://develop.svn.wordpress.org/trunk@15147 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-05 21:09:55 +00:00
Ryan Boren 92fe0bb5b6 Fix logic
git-svn-id: https://develop.svn.wordpress.org/trunk@15143 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-04 20:11:06 +00:00
Andrew Nacin 628f5ab5fc Remove 'popular_items' label for hierarchical taxonomies. see [15140], [15141]
git-svn-id: https://develop.svn.wordpress.org/trunk@15142 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-04 19:21:06 +00:00
Ryan Boren baa954e82e Make upgrading global so maintenance_nag() can see it. see #13721
git-svn-id: https://develop.svn.wordpress.org/trunk@15139 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-04 15:16:17 +00:00
Ryan Boren b58a019e87 Better ms lang file check. Props ocean90. fixes #13706
git-svn-id: https://develop.svn.wordpress.org/trunk@15138 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-04 12:59:44 +00:00
Ryan Boren c8db4219ea Fix ms lang file check. Props ocean90. fixes #13706
git-svn-id: https://develop.svn.wordpress.org/trunk@15137 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-04 12:53:44 +00:00
Peter Westwood e607e13040 bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@15136 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-04 07:27:18 +00:00
Andrew Nacin 17a51607a5 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@15133 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 21:54:59 +00:00
Andrew Nacin d5a2b82b96 Prevent 'Enter menu name here' menus, and offer some feedback. props koopersmith, fixes #13703.
git-svn-id: https://develop.svn.wordpress.org/trunk@15124 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 03:33:54 +00:00
Andrew Nacin 46c0c97c06 Hide the 'Close' link in nav menu no-JS. The Cancel link should suitably handle the modified workflow. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15122 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 22:47:42 +00:00
Andrew Nacin 285213f7ae Let's not emphasize that multisite might as well be its own language. fixes #13706.
git-svn-id: https://develop.svn.wordpress.org/trunk@15118 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 21:11:37 +00:00
Peter Westwood c8dae44e09 Let the filters know its a sample permalink. Props yoast.
git-svn-id: https://develop.svn.wordpress.org/trunk@15117 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:52:22 +00:00
Ryan Boren 0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Ryan Boren 87b18f33d2 Whitespace cleanup. Props zeo. fixes #13678
git-svn-id: https://develop.svn.wordpress.org/trunk@15115 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 19:56:19 +00:00
Ryan Boren 197becc54d Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15114 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 17:58:57 +00:00
Andrew Nacin 7128d1984b Add menu_id to wp_nav_menu() and move container_id to the container. Set the container arg to false to not use a container. fixes #13669
git-svn-id: https://develop.svn.wordpress.org/trunk@15113 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 17:04:07 +00:00
Ryan Boren dea561c819 wp_get_nav_menus filter. Props filosofo. fixes #13702
git-svn-id: https://develop.svn.wordpress.org/trunk@15112 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 16:31:42 +00:00
Andrew Nacin b94b5ece42 Ensure we're only auto-adding root pages to menus. fixes #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@15111 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 15:08:03 +00:00
Ryan Boren 00e5134460 Remove debug. fixes #13670
git-svn-id: https://develop.svn.wordpress.org/trunk@15110 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 15:00:09 +00:00
Ryan Boren ad175650ea IIS rewrite fixes. Props duck_, ruslany. fixes #13679
git-svn-id: https://develop.svn.wordpress.org/trunk@15109 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 14:58:36 +00:00
Ryan Boren f0ab192369 Make _pad_term_counts custom post type aware. Props reko. fixes #13670
git-svn-id: https://develop.svn.wordpress.org/trunk@15108 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 14:55:33 +00:00
Ryan Boren cf4521e441 Pass args to wp_list_categories filter. Props momo360modena. fixes #13682
git-svn-id: https://develop.svn.wordpress.org/trunk@15107 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 14:02:54 +00:00
Ryan Boren a5dbd0e164 clearstatcache() after writing files. Props momo360modena. fixes #13683
git-svn-id: https://develop.svn.wordpress.org/trunk@15106 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 14:01:21 +00:00
Ryan Boren 88f326d1c8 Consolidate nav menu class assignments. Props filosofo. fixes #13664
git-svn-id: https://develop.svn.wordpress.org/trunk@15105 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 13:48:26 +00:00
Ryan Boren a6e58d85bf Nav menu API cleanups. Props filosofo. fixes #13696
git-svn-id: https://develop.svn.wordpress.org/trunk@15104 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 13:43:46 +00:00
Ryan Boren ba0dab7090 Use import cap. Add old edit_files cap to list of caps to shutdown if DISALLOW_FILE_EDIT. see #13681
git-svn-id: https://develop.svn.wordpress.org/trunk@15097 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 18:08:27 +00:00
Ryan Boren 171d6811cc Add export capability. fixes #13681
git-svn-id: https://develop.svn.wordpress.org/trunk@15096 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 18:02:05 +00:00
Ryan Boren 5ca16149e2 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@15093 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 17:29:42 +00:00
Andrew Nacin 5b3b2aaee1 Introduce has_nav_menu(). Returns boolean whether the theme's registered nav menu location has a menu assigned to it. props greenshady for the idea.
git-svn-id: https://develop.svn.wordpress.org/trunk@15091 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 16:40:14 +00:00
Ryan Boren 24f53ef665 Remove login-header.png. Use CSS3 with fallback color. Login RTL fix. Props ocean90. fixes #13587
git-svn-id: https://develop.svn.wordpress.org/trunk@15090 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 15:54:00 +00:00
Ryan Boren e2407a19fc Don't add sticky class if is_paged(). Props iandstewart. fixes #13666
git-svn-id: https://develop.svn.wordpress.org/trunk@15088 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 15:03:49 +00:00
Ryan Boren 87ea4f3f2c Add colors-fresh and colors-classic to rtl_styles so that suffixes are handled properly. fixes #13676
git-svn-id: https://develop.svn.wordpress.org/trunk@15087 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 14:23:56 +00:00
Andrew Nacin f90f5c86e5 /me bumps versions.
git-svn-id: https://develop.svn.wordpress.org/trunk@15084 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 21:49:13 +00:00
Ron Rennick e5bd1500f0 add rewrites for registration pages, fixes #13638
git-svn-id: https://develop.svn.wordpress.org/trunk@15081 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 20:50:27 +00:00
Andrew Nacin e21a5a1b24 Nav menu improvements. props koopersmith. RTL support for tabs, better tab handling, other improvements. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15080 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 20:22:49 +00:00
Andrew Nacin 4a0f1ff357 Use correct element in jQuery selector. props ocean90, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@15079 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 16:30:02 +00:00