Commit Graph

7496 Commits

Author SHA1 Message Date
scribu 0e87356092 Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472
git-svn-id: https://develop.svn.wordpress.org/trunk@16466 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 18:46:41 +00:00
Ryan Boren bc279e502e Script bump
git-svn-id: https://develop.svn.wordpress.org/trunk@16464 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 14:23:05 +00:00
Andrew Nacin 845832a767 Second half of [16462]. props duck_. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16463 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:51:50 +00:00
Andrew Nacin 3161d152bf Clean up logic when selecting post types for the admin bar content drop-down. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16462 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:01:07 +00:00
Andrew Nacin 1c4c2a2ad9 Kill the background from the default jQuery UI dialog theme. We'll get this from .wp-dialog in the colors stylesheets. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16461 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 08:50:20 +00:00
Andrew Nacin c7e2a27492 More svn add. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16460 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 08:20:19 +00:00
Andrew Nacin 7cccd5715f Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin 7554d8610b Second pass on internal linking preloading. Adjust styles, svn add the wpdialogs plugin, adjust files and docs. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16458 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:56:47 +00:00
Andrew Nacin 655df3af90 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Andrew Nacin 1a3a72a224 Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462.
git-svn-id: https://develop.svn.wordpress.org/trunk@16451 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 04:29:27 +00:00
Andrew Nacin 5183bee738 WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730.
git-svn-id: https://develop.svn.wordpress.org/trunk@16450 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:34:28 +00:00
Andrew Nacin ba37b82b10 Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460.
git-svn-id: https://develop.svn.wordpress.org/trunk@16447 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:19:08 +00:00
Andrew Nacin 9437b31707 Add list_pages filter. props johnjamesjacoby, fixes #13668.
git-svn-id: https://develop.svn.wordpress.org/trunk@16446 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:23:05 +00:00
Andrew Nacin 892760ad7a When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945.
git-svn-id: https://develop.svn.wordpress.org/trunk@16444 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:17:13 +00:00
Ryan Boren fa33255b56 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16439 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:48:27 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Ryan Boren f721e075e6 Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452
git-svn-id: https://develop.svn.wordpress.org/trunk@16437 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:25:42 +00:00
Mark Jaquith eb981f0b6c admin-bar.js is stale. Bumping the version number.
git-svn-id: https://develop.svn.wordpress.org/trunk@16436 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:55:09 +00:00
Mark Jaquith 064b0f732b Make admin bar update bubbles DARK text on LIGHT background, per janeforshort. see #15308
git-svn-id: https://develop.svn.wordpress.org/trunk@16435 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:35:24 +00:00
Mark Jaquith ae422f43ab Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
git-svn-id: https://develop.svn.wordpress.org/trunk@16432 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:21:45 +00:00
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