Commit Graph

7496 Commits

Author SHA1 Message Date
scribu
d23ca4da48 Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472
git-svn-id: http://svn.automattic.com/wordpress/trunk@16466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 18:46:41 +00:00
ryan
9829892631 Script bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@16464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 14:23:05 +00:00
nacin
7a2af1c100 Second half of [16462]. props duck_. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 09:51:50 +00:00
nacin
d32722275e Clean up logic when selecting post types for the admin bar content drop-down. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 09:01:07 +00:00
nacin
f9434dc3f6 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: http://svn.automattic.com/wordpress/trunk@16461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 08:50:20 +00:00
nacin
d9b2230489 More svn add. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 08:20:19 +00:00
nacin
485daddde1 Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin
9820a48b54 Second pass on internal linking preloading. Adjust styles, svn add the wpdialogs plugin, adjust files and docs. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:56:47 +00:00
nacin
3bb8ace4e2 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
nacin
31f08706f7 Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 04:29:27 +00:00
nacin
d37c4b0ebc WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:34:28 +00:00
nacin
695644cc72 Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:19:08 +00:00
nacin
8ff32f52df Add list_pages filter. props johnjamesjacoby, fixes #13668.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:23:05 +00:00
nacin
d397326116 When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:17:13 +00:00
ryan
c50cc5c57a Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:48:27 +00:00
ryan
847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
ryan
01a32c0af0 Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452
git-svn-id: http://svn.automattic.com/wordpress/trunk@16437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:25:42 +00:00
markjaquith
c8b4e1cf5d admin-bar.js is stale. Bumping the version number.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:55:09 +00:00
markjaquith
3e53432b7b Make admin bar update bubbles DARK text on LIGHT background, per janeforshort. see #15308
git-svn-id: http://svn.automattic.com/wordpress/trunk@16435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:35:24 +00:00
markjaquith
78e63786d0 Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
git-svn-id: http://svn.automattic.com/wordpress/trunk@16432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:21:45 +00:00
markjaquith
6482610f9a esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:12:01 +00:00
nacin
4beb3ab36e get_tag_link and get_category_link can also return WP_Error. fixes #15449.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:10:50 +00:00
scribu
0921736b76 Differentiate between localized and raw total pages. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:03:27 +00:00
markjaquith
bbaa4eb8a1 The path goes INSIDE home_url(). fixes #15413
git-svn-id: http://svn.automattic.com/wordpress/trunk@16425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:38:28 +00:00
ryan
a6cdc2dea4 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: http://svn.automattic.com/wordpress/trunk@16424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:11:44 +00:00
scribu
a0e5b38765 Fix ambiguous column error. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 12:33:32 +00:00
nacin
e5f944a913 Don't check post_type_supports in map_meta_cap. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 06:21:34 +00:00
nacin
4fda3f791f Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 04:52:01 +00:00
nacin
7b078d3b9b Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 03:30:27 +00:00
scribu
275888f2e6 Re-introduce ->tax_query as a read-only var. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 02:04:08 +00:00
scribu
f58b21e69d Optimize get_tax_sql(). See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 01:56:01 +00:00
scribu
d2a5add61a Deprecate update_category_cache(). Fixes #15446
git-svn-id: http://svn.automattic.com/wordpress/trunk@16412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:56:00 +00:00
nacin
de65e1f2f3 Fix arin whois link. props ozh. @todo consider its removal. see #15281.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:54:22 +00:00
scribu
8cf88a2e84 Minor get_meta_sql() cleanup. See #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@16410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:27:34 +00:00
nacin
3f5b442306 Revert changes to wptexturize() until test cases pass. Reverts [16280], [16378]. see #4539 and #15241.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 22:18:48 +00:00
nacin
200f550862 More updates to post.js. see [16248].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 22:13:17 +00:00
nacin
c09b2e5b22 Improve internal linking river feedback. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 18:30:34 +00:00
azaozz
4002b79b7a Revert the TinyMCE spellchecker to its old behaviour, update to tinymce_spellchecker_php_2_0_3, fixes #15268
git-svn-id: http://svn.automattic.com/wordpress/trunk@16405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 17:30:18 +00:00
scribu
8b107e23f4 Revert [16402] outright. Causes issues with themes. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:36:20 +00:00
scribu
af6dbfde54 Revert taxonomy.php part of [16402]. Not fully backed yet. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:24:14 +00:00
scribu
690cd434d1 Don't pollute the 'tax_query' query var. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:22:09 +00:00
nacin
99f3141859 Use user_trailingslashit in get_author_posts_url(). fixes #15441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:09:46 +00:00
scribu
aa0e750a9f Update some @since tags. Props demetris. Fixes #15438
git-svn-id: http://svn.automattic.com/wordpress/trunk@16400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 13:16:13 +00:00
nacin
2f107efd02 Internal linking functionality updates. Scrap pagination for a river of results. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 05:11:41 +00:00
nacin
16327a7dbb Internal linking UI updates. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 04:25:14 +00:00
ryan
bbd70cabe7 Minify wplink js. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 01:21:18 +00:00
nacin
50ca771db7 Bump wplink version. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 00:47:22 +00:00
nacin
d042642802 Properly force variable to an array. props Viper007Bond, fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 00:19:51 +00:00
azaozz
c121aa0ae3 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: http://svn.automattic.com/wordpress/trunk@16394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 23:57:27 +00:00
nacin
afcbc49e62 Next pass on internal linking. Functional, but needs styling. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 23:48:24 +00:00
nbachiyski
27200382fa 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: http://svn.automattic.com/wordpress/trunk@16392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 20:13:05 +00:00
ryan
4b8b1bbbba Minify wplink js. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:42:49 +00:00
ryan
ee8966d821 Auto focus URL field. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:40:34 +00:00
nacin
29203134cb Sanity cast. see #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:06:57 +00:00
nacin
bd638424fc set_post_thumbnail(). fixes #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:59:25 +00:00
nacin
c5aa88412a capability_type = page and no custom caps should also kick on map_meta_cap. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:11:34 +00:00
scribu
e55bee786e Revert [16384]. See #15433
git-svn-id: http://svn.automattic.com/wordpress/trunk@16385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 15:23:04 +00:00
scribu
b20d93c69c Ignore 'name' qv if 'p' qv is set. Fixes #15433
git-svn-id: http://svn.automattic.com/wordpress/trunk@16384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 13:33:16 +00:00
scribu
9e939da4f3 Fix get_tax_sql() docs. Props Viper007Bond. Fixes #15431
git-svn-id: http://svn.automattic.com/wordpress/trunk@16382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 11:24:55 +00:00
scribu
cc72395bbb Set 'taxonomy' and 'term' query vars for back-compat. Fixes #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@16381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:51:39 +00:00
scribu
7cb5240bd6 Re-parse tax query just before calling get_tax_sql(). Fixes #15161
git-svn-id: http://svn.automattic.com/wordpress/trunk@16380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:11:25 +00:00
scribu
2b58e241d0 Better error handling in get_meta_sql(). Props Viper007Bond. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:02:39 +00:00
westi
17d25e2cdc Fix regression in wptexturize with single quotes when used for contraction. See #15241 props norbertm.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 08:52:36 +00:00
nacin
478186859b Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 06:38:10 +00:00
scribu
14fa85ba94 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: http://svn.automattic.com/wordpress/trunk@16375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:28:55 +00:00
scribu
a41a7b5b5b Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:00:09 +00:00
scribu
03dd41a0d2 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 15:50:02 +00:00
scribu
5ed4e6d260 Fix empty query vars being passed as 'true' instead of ''. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 00:48:30 +00:00
scribu
6b2aa2177f Update doc for WP_Query::post. Fixes #15105
git-svn-id: http://svn.automattic.com/wordpress/trunk@16360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:32:18 +00:00
scribu
5f0adf4d70 Use wp_start_object_cache() in switch_to_blog(). Props prettyboymp. Fixes #15361
git-svn-id: http://svn.automattic.com/wordpress/trunk@16359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:11:50 +00:00
scribu
7640c5748b Add colon after Upload/Insert. Fixes #14810
git-svn-id: http://svn.automattic.com/wordpress/trunk@16358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 22:52:51 +00:00
scribu
9c4ab78301 Always apply comment_text filter in check_comment(). Props hakre. Fixes #14680
git-svn-id: http://svn.automattic.com/wordpress/trunk@16357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 22:30:36 +00:00
scribu
40b2c5b6c5 Kill WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:32:43 +00:00
scribu
cd60463f36 Revert most of [16018]. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:26:15 +00:00
scribu
6267650ddd Split get_search_sql(). See #15170. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:18:45 +00:00
scribu
4b927768fd Prevent horizontal scrollbar. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:33:12 +00:00
nacin
134adb6ec1 Move cast to within array_keys to prevent warning when get_the_terms returns false. see #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:32:20 +00:00
scribu
e56413ae33 Add 'get_the_terms' filter. Props filosofo. Fixes #15410
git-svn-id: http://svn.automattic.com/wordpress/trunk@16342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 14:08:27 +00:00
nacin
7b010efc77 Escape the class arg in wp_list_categories. props hakre, fixes #11514.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 11:06:26 +00:00
nacin
81a8f2d3ce Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
nacin
f6d1e9c634 Only a static class method or function can be used in an uninstall hook. props scribu, fixes #13786.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:45:57 +00:00
nacin
3ccfb56e3c Set map_meta_cap to true when capability_type = post and no custom caps are specified. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 08:40:38 +00:00
westi
00b232ea51 Revert [16320] and [16321] for now. Breaks things
git-svn-id: http://svn.automattic.com/wordpress/trunk@16336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 22:44:16 +00:00
westi
435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu
98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
scribu
18116f12c6 Don't use deprecated category properties. Props filosofo. Fixes #15408
git-svn-id: http://svn.automattic.com/wordpress/trunk@16331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 18:40:51 +00:00
nacin
3f7374b8e6 Self-close embed tag for googlevideo embed handler. props pross, fixes #14230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 11:17:35 +00:00
nacin
fd4b0965f8 Only register post_format taxonomy to posts. see #15396, #14746.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:58:58 +00:00
nacin
2ad9865886 Only mysql_free_result if we have a valid resource, and remove error suppression there. see #15402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:40:43 +00:00
nacin
83fbd4e36b 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: http://svn.automattic.com/wordpress/trunk@16320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:15:18 +00:00
nacin
96835b99d0 Use term cache in get_post_format() to save a boatload of queries. see #15396.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 09:49:34 +00:00
nacin
b80fc23177 jQuery 1.4.4. props demetris, fixes #15201, #15227.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 07:13:11 +00:00
nacin
1478fb89f1 Typo fix. see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 07:04:34 +00:00
markjaquith
75d045de8e Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:10:56 +00:00
markjaquith
6d78cf73f9 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: http://svn.automattic.com/wordpress/trunk@16314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:05:33 +00:00
nacin
5f4a583fb1 Remove more create_function calls. props huichen, see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:50:36 +00:00
nacin
7ec4e83dc5 Remove old header/footer link active state. props dremeda, fixes #14487.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:17:11 +00:00
ryan
a071a3a1df Admin bar fixes. Props ocean90. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 20:02:52 +00:00
ryan
5cef2ca0a6 Register admin menus against admin_bar_menu action to be consistent with other menu hooks. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 19:11:12 +00:00
ryan
e0aaecc573 Make the My Sites menu items use admin_url() instead of hardcoding the url. Props caesarsgrunt. see #14772
git-svn-id: http://svn.automattic.com/wordpress/trunk@16308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 18:48:38 +00:00