Commit Graph

6505 Commits

Author SHA1 Message Date
Andrew Nacin 691fc01761 Bump the version alot.
git-svn-id: https://develop.svn.wordpress.org/trunk@14566 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:34:20 +00:00
Andrew Nacin d620c50f96 Remove apparent debug cruft committed in [14401]. fixes #13355
git-svn-id: https://develop.svn.wordpress.org/trunk@14565 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:28:12 +00:00
Ryan Boren 364194617a Don't update meta data when the new value matches the old value. fixes #13350
git-svn-id: https://develop.svn.wordpress.org/trunk@14564 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 17:35:07 +00:00
Ryan Boren 0adf04d6db Don't order term count queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@14563 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 16:50:25 +00:00
Ryan Boren d5308265cd Don't set/get tags or categories for post types that do not support them. fixes #13346
git-svn-id: https://develop.svn.wordpress.org/trunk@14561 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 16:28:00 +00:00
Ryan Boren 5d13bccc69 Don't prime menu item cache if a persistent cache is being used. Prime the menu item cache only on the first call to wp_get_nav_menu_items(). Avoids unneeded queries when wp_get_nav_menu_items() is called repeatedly. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14560 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 15:55:17 +00:00
Ryan Boren b726ce95dc Unset some vars when done with them to reduce peak memory usage. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14559 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 14:39:00 +00:00
Ryan Boren c0e02a6677 No need to setup the nav menu items again. wp_get_nav_menu_items() handles it. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14558 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 14:25:10 +00:00
Ryan Boren 6588f852fa Reduce number of queries in wp_get_nav_menu_items() by fetching posts and terms with batch queries. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14557 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 14:21:03 +00:00
Ryan Boren dd9c60ef64 Force reauth when auth_redirect() redirects to login. see #12142
git-svn-id: https://develop.svn.wordpress.org/trunk@14556 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 13:44:40 +00:00
Peter Westwood e8c4ed229f Kick the version up some more.
git-svn-id: https://develop.svn.wordpress.org/trunk@14550 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:13:35 +00:00
Andrew Nacin e98ddd7bd6 Revert patch for expecting unslashed data in the metadata API. Had snuck in with [14546]. see #12416.
git-svn-id: https://develop.svn.wordpress.org/trunk@14547 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:51:58 +00:00
Andrew Nacin 8235a24f35 Fix double-tabbing in get_dropins.
git-svn-id: https://develop.svn.wordpress.org/trunk@14546 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:41:14 +00:00
Andrew Nacin 5c149c17ae Use correct field name in a query in do_enclose(). fixes #12074, mtdewvirus.
git-svn-id: https://develop.svn.wordpress.org/trunk@14539 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 09:02:15 +00:00
Andrew Nacin 384cd5a9d3 Fix typos in phpdoc for comment_form(). props demetris, fixes #10910.
git-svn-id: https://develop.svn.wordpress.org/trunk@14538 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 08:47:13 +00:00
Andrew Nacin 4b48de9c08 Remove unused global var. props filosofo, fixes #13316.
git-svn-id: https://develop.svn.wordpress.org/trunk@14536 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 06:06:37 +00:00
Andrew Nacin 3dd93e488b Some sortable improvements in the nav menu UI. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14531 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 04:51:57 +00:00
Ryan Boren 581779a30d Don't call wp_get_nav_menu_items() twice.
git-svn-id: https://develop.svn.wordpress.org/trunk@14529 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 01:11:04 +00:00
Ryan Boren ee0b76261b Allow turning off object_term and postmeta cache updates. Turn off object_term updates in the wp_get_nav_menu_items() get_posts() query to avoid useless taxonomy query.
git-svn-id: https://develop.svn.wordpress.org/trunk@14528 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 00:58:39 +00:00
Andrew Nacin 58837ee989 Remove codepress dir. see #13307.
git-svn-id: https://develop.svn.wordpress.org/trunk@14527 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 22:53:25 +00:00
Peter Westwood 14ea78ffa3 Bump Bump Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@14526 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 20:54:12 +00:00
Mark Jaquith e69e6856e8 Omit extraneous argument. props coffee2code. fixes #10057
git-svn-id: https://develop.svn.wordpress.org/trunk@14522 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 07:22:10 +00:00
Andrew Nacin fd9b4855e6 Simplify is_post_type and is_post_type_hierarchical. Make them work like their taxonomy counterparts. see #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14521 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 22:10:28 +00:00
Andrew Nacin 7ea215494e Allow menu items to be dropped on a parent item in addition to just being dragged to the right. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14520 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 21:56:53 +00:00
Peter Westwood 2e1947d51c Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@14519 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 21:16:17 +00:00
Andrew Nacin f04386cca0 Don't use WP_SITEURL and WP_HOME in multisite. fixes #13191.
git-svn-id: https://develop.svn.wordpress.org/trunk@14517 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 19:31:42 +00:00
Ron Rennick 74a627a09d consistency & simplicity in get_option(), see #12140
git-svn-id: https://develop.svn.wordpress.org/trunk@14515 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 18:05:16 +00:00
Ron Rennick 9d47e01b62 add upload dir support to switch to blog, props ocean90, see #11998
git-svn-id: https://develop.svn.wordpress.org/trunk@14510 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 22:50:05 +00:00
Peter Westwood d670421940 I like alot of version numbers.
git-svn-id: https://develop.svn.wordpress.org/trunk@14508 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 21:07:19 +00:00
Peter Westwood 5b4e507d7d Restore the strtotime(). See #9285.
git-svn-id: https://develop.svn.wordpress.org/trunk@14507 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:57:23 +00:00
Andrew Nacin 2bead5daeb Allow duplicate emails (generally empty) if WP_IMPORTING to restore 2.9 behavior. props blepoxp, yoavf. fixes #13130. see r12778.
git-svn-id: https://develop.svn.wordpress.org/trunk@14504 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:35:04 +00:00
Peter Westwood f5d0ab2f21 Don't cache option values while installing. See #12140.
git-svn-id: https://develop.svn.wordpress.org/trunk@14502 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 18:32:20 +00:00
Andrew Nacin c100b80c20 Fix start of week and SQL WEEK handling. props mdawaffe, fixes #10397.
git-svn-id: https://develop.svn.wordpress.org/trunk@14499 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 05:01:29 +00:00
Andrew Nacin ec9d233b8b Fix to is_post_type. props scribu, fixes #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14498 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 04:57:23 +00:00
Andrew Nacin 12985d307f Standardize returned array keys when output = 'names'. Return numeric keys. Standardizes get_object_taxonomies with get_taxonomies, get_post_types, and get_post_stati. props scribu. fixes #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14495 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 03:24:47 +00:00
Peter Westwood 85e9d665ee Make wp_get_shortlink() loop friendly. Fixes #13212 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@14490 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 21:20:17 +00:00
Peter Westwood 8e2343b6ba Bump the rev some more for the next nightly
git-svn-id: https://develop.svn.wordpress.org/trunk@14489 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 21:09:54 +00:00
Peter Westwood db366b0732 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14488 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 20:54:05 +00:00
Peter Westwood dacd1c5623 Improve cross DST future post publishing behaviour to try and publish at the correct time if we have PHP5 timezone support available to help. Fixes #9285 props technosailor.
git-svn-id: https://develop.svn.wordpress.org/trunk@14487 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 20:40:29 +00:00
Andrew Nacin 7fcb6fef4b Use wp_cache_set instead of wp_cache_add in recent posts and archives widgets. props Denis-de-Bernardy, fixes #11580.
git-svn-id: https://develop.svn.wordpress.org/trunk@14486 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 20:40:10 +00:00
Andrew Nacin 910c8e8bc9 Remove WP_FALLBACK_THEME, use WP_DEFAULT_THEME instead. We now only fall back to the default theme if the theme is broken. Incomplete themes that need to inherit templates will inherit them from wp-includes/theme-compat -- this behavior is deprecated. fixes #12846.
git-svn-id: https://develop.svn.wordpress.org/trunk@14485 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:53:40 +00:00
Peter Westwood 51aa71c394 Pass extra context to wpmu_new_blog.
git-svn-id: https://develop.svn.wordpress.org/trunk@14484 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:36:20 +00:00
Peter Westwood ebbb23e25b Make the recent comments widget use the get_comments() api and cache the result. Fixes #10615 props filosofo and blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@14483 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:31:45 +00:00
Andrew Nacin b6d274e817 Small fix to r14479. see #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14480 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:16:39 +00:00
Andrew Nacin 934d7c5580 Allow get_object_taxonomies to return taxonomy objects. props scribu, fixes #13109.
git-svn-id: https://develop.svn.wordpress.org/trunk@14479 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:07:50 +00:00
Andrew Nacin cba25aba7e Prevent ambiguous table aliases in wp_post_mime_type_where. props stephdau, jfarthing84, fixes #12750.
git-svn-id: https://develop.svn.wordpress.org/trunk@14478 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:03:05 +00:00
Andrew Nacin 0b3e082d6e Remove duplicated query var. props lriggle, fixes #13280.
git-svn-id: https://develop.svn.wordpress.org/trunk@14477 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 17:49:54 +00:00
Andrew Nacin 04919ebe8b Adopt WP's general JS structure. Remove last of trailing commas. Remove dead code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14475 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 17:11:52 +00:00
Andrew Nacin 8cf4e1051f Remove trailing comma in common.js that IE is known to choke on. props ocean90, fixes #13260.
git-svn-id: https://develop.svn.wordpress.org/trunk@14472 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:13:31 +00:00
Andrew Nacin 465cce3e6a Revert [14434] et al. Going back to checkboxes in the nav menus, holding drag-drop for future release. see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14471 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 14:09:10 +00:00