Commit Graph

6813 Commits

Author SHA1 Message Date
Ron Rennick ca9f9c1086 allow main site 404 URL to be filtered, fixes #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14911 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 23:41:36 +00:00
Ryan Boren 7ba92c31a4 Menu notice and stlying fixes. Props filosofo. fixes #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@14905 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 21:44:34 +00:00
Andrew Nacin 855bc34ad9 Remove unused/duplicated/undocumented post type object label. see #13539
git-svn-id: https://develop.svn.wordpress.org/trunk@14903 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 19:25:27 +00:00
Andrew Nacin ad59625e7f Fix typo. props rovo89, fixes #13494.
git-svn-id: https://develop.svn.wordpress.org/trunk@14902 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:59:20 +00:00
Andrew Nacin 7efaa581d3 Use a post type object label for edit_post_link's title attribute. props sc0ttkclark.
git-svn-id: https://develop.svn.wordpress.org/trunk@14901 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:55:51 +00:00
Ryan Boren b18836e3f9 Back compat menu classes. see #12812 #13379
git-svn-id: https://develop.svn.wordpress.org/trunk@14900 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:54:42 +00:00
Andrew Nacin 75e66fcb9c Use a filter instead of a new NO404REDIRECT constant. see #12758.
git-svn-id: https://develop.svn.wordpress.org/trunk@14899 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 18:12:14 +00:00
Ryan Boren b417ff2148 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14896 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 17:47:52 +00:00
Donncha O Caoimh 7c28c554a6 Cast "public" as an int to ensure it gets set correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@14892 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 16:57:32 +00:00
Ryan Boren ca7b6498d7 Classes for posts and terms in the menus. see #13379
git-svn-id: https://develop.svn.wordpress.org/trunk@14891 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 16:51:09 +00:00
Andrew Nacin 5bc3a62137 Give is_singular the ability to provide awareness/context for custom post types. props ryan, scribu. Usage: is_singular('book') or is_singular( array( 'newspapers', 'books' ) ). fixes #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14887 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 15:36:23 +00:00
Ron Rennick a9dee7eba7 cleanup $indents, props filosofo, see #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14885 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 15:31:28 +00:00
Ryan Boren e63b2b97be Don't set default category when saving an auto-draft. fixes #13531
git-svn-id: https://develop.svn.wordpress.org/trunk@14883 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 14:43:39 +00:00
Ryan Boren 7cafd15b07 Add ancestor classes. Props filosofo. see #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@14881 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 14:25:06 +00:00
Andrew Nacin 00fda9f10b Allow pages to be added automattically to menus. see #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@14878 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 13:49:56 +00:00
Ryan Boren ae2d4eba15 Add parent classes to nav menu. Props filosofo. see #12812
git-svn-id: https://develop.svn.wordpress.org/trunk@14876 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 13:30:10 +00:00
Ron Rennick 7fdb99dbb5 ensure unique term_id when global terms enabled, see #13482
git-svn-id: https://develop.svn.wordpress.org/trunk@14872 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 07:24:10 +00:00
Ron Rennick aa8a5ab580 update rewrite rules for IIS, props Frumph, see #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14871 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 05:12:47 +00:00
Andrew Nacin 6ab4f52e79 New 'on' state for admin menus. props JohnONolan, see #13486.
git-svn-id: https://develop.svn.wordpress.org/trunk@14870 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 02:47:43 +00:00
Ryan Boren 51e11b64d6 Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
git-svn-id: https://develop.svn.wordpress.org/trunk@14869 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 02:18:07 +00:00
Ron Rennick e59cbd9ac4 give static var initial value, fixes #13517
git-svn-id: https://develop.svn.wordpress.org/trunk@14867 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 00:31:07 +00:00
Ron Rennick 9aef526ca3 eliminate warning in global_terms(), global to static, fixes #13517
git-svn-id: https://develop.svn.wordpress.org/trunk@14866 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 00:13:03 +00:00
Peter Westwood affec163db New high score!
git-svn-id: https://develop.svn.wordpress.org/trunk@14860 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 21:28:37 +00:00
Peter Westwood 545c432776 phpDoc updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@14858 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 21:26:49 +00:00
Andrew Nacin 0e7af12e41 Remove now-unused post_type_object->labels>edit, which was 'Edit' (with context). see #12968, see #11274.
git-svn-id: https://develop.svn.wordpress.org/trunk@14857 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 21:19:29 +00:00
Andrew Nacin a8db275646 Even better, remove all UI for global terms. Add a filter to global_terms_enabled() and also allow the site option to simply be deleted. fixes #12666.
git-svn-id: https://develop.svn.wordpress.org/trunk@14854 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 20:45:59 +00:00
Andrew Nacin d617ca0f94 First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14852 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:50:20 +00:00
Andrew Nacin b074c7be02 Invalidate header/background images for the current theme when the attachment is deleted. props ocean90, fixes #12467.
git-svn-id: https://develop.svn.wordpress.org/trunk@14850 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:42:43 +00:00
Andrew Nacin 5e0a7abf5c s/navigation menu/custom menu/. props jane, duck_. fixes #13519.
git-svn-id: https://develop.svn.wordpress.org/trunk@14849 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:31:31 +00:00
Donncha O Caoimh 56e498c517 Added $meta to "wpmu_new_blog" action
git-svn-id: https://develop.svn.wordpress.org/trunk@14844 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 17:26:21 +00:00
Ryan Boren b97b898d80 Fix update label for link categories. Props duck_. fixes #13515
git-svn-id: https://develop.svn.wordpress.org/trunk@14841 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 16:09:52 +00:00
Ryan Boren 1cb798cf91 Remove already exists check for passed in slug. fixes #12349
git-svn-id: https://develop.svn.wordpress.org/trunk@14840 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 15:56:50 +00:00
Ryan Boren fad9b719a1 Don't issue dupe slug error if provided slug matches name derived slug. fixes #12349
git-svn-id: https://develop.svn.wordpress.org/trunk@14839 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 15:49:12 +00:00
Andrew Nacin 0aa0cde880 Menu tweaks. Save menu locations when saving the menu. Also, centralize theme support checks and add them to menu.php. Improve some branching. Remove some old JS vars, add a missing semicolon, etc. props koopersmith. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14831 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 09:23:56 +00:00
Andrew Nacin aceae2cfef Properly format menu item title attributes and descriptions. props ryan, fixes #12864.
git-svn-id: https://develop.svn.wordpress.org/trunk@14826 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 22:56:51 +00:00
Andrew Nacin ec0823ce3e Proper checks for current-menu-item. props duck_, fixes #13409.
git-svn-id: https://develop.svn.wordpress.org/trunk@14824 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 22:01:08 +00:00
Peter Westwood 17eb59e79e roll on tomorrow
git-svn-id: https://develop.svn.wordpress.org/trunk@14822 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 21:05:36 +00:00
Dion Hulse ce9cca9dd0 Provide some Before/After strings for Bulk Upgrades, Add a spinner whilst a upgrade is in process, Remove scrollbars on update iframe. Props ocean90. See #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@14819 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 12:29:00 +00:00
Dion Hulse 87c99854d6 Increase height of Theme install thickbox to remove useless scrollbars. Props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@14818 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 12:04:24 +00:00
Dion Hulse bc726afc10 Better display handling of error messages during swfupload uploading. Fixes #12225
git-svn-id: https://develop.svn.wordpress.org/trunk@14816 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 10:59:52 +00:00
Peter Westwood ca3fead69d Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14815 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 07:58:06 +00:00
Dion Hulse b93faecc52 Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
git-svn-id: https://develop.svn.wordpress.org/trunk@14814 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 07:49:21 +00:00
Peter Westwood cd7f4dfaa7 bump bump bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14805 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 21:11:03 +00:00
Ryan Boren c219c46cbb Use filters instead of action in wp_login_form(). see #11172
git-svn-id: https://develop.svn.wordpress.org/trunk@14804 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 13:52:25 +00:00
Ryan Boren e939bd4e55 Email messages should be plain text. Props arena. see #13488
git-svn-id: https://develop.svn.wordpress.org/trunk@14803 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 13:48:38 +00:00
Andrew Nacin 6d0ed6f1ea Pixel sanity check. props filosofo, fixes #13470.
git-svn-id: https://develop.svn.wordpress.org/trunk@14799 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 23:35:37 +00:00
Andrew Nacin e39ffe967d Script loader bump, and revert new orange that snuck in. see #13441.
git-svn-id: https://develop.svn.wordpress.org/trunk@14796 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 23:32:02 +00:00
Ryan Boren 6d183a8505 Don't look for a fallback menu when a specific location is requested. Props tinkerpriest. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14793 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 20:28:11 +00:00
Andrew Nacin 5b7ecb587d Notice sanity check. fixes #13484, props etiger13.
git-svn-id: https://develop.svn.wordpress.org/trunk@14788 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 19:02:36 +00:00
Ryan Boren 55ef03d2fd Update phpdoc for wp_insert_term(). Props prettyboymp. fixes #12482
git-svn-id: https://develop.svn.wordpress.org/trunk@14785 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 18:19:56 +00:00
Ryan Boren 90ae6fa7f8 If slug and name match an existing term in the same taxonomy at the same hieararchy level return error. fixes #13481
git-svn-id: https://develop.svn.wordpress.org/trunk@14784 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 18:03:53 +00:00
Ryan Boren b7f90a2046 Check for siblings only if term already exists in the same taxonomy. see #13119
git-svn-id: https://develop.svn.wordpress.org/trunk@14783 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 16:03:35 +00:00
Andrew Nacin 43d4f742b9 Some sanity checks -- make sure we have a valid post author user object before checking if the current user is the author.
git-svn-id: https://develop.svn.wordpress.org/trunk@14782 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 15:15:32 +00:00
Andrew Nacin 3dd5d1edd4 False alarm, something else is going on here. Revert [14780], restore [14695]. see #13317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14781 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 15:08:07 +00:00
Andrew Nacin b5ce43f348 Revert [14695]. We need to be a bit less strict. see #13317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14780 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 15:03:54 +00:00
Ryan Boren ffed6e8554 Fix showing selected for none. Props johnbillion. fixes #13468
git-svn-id: https://develop.svn.wordpress.org/trunk@14779 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 14:35:39 +00:00
Dion Hulse 6f7e81416b Clone Objects in add_option()/update_option() to prevent storing PHP5 object references in memory cache. See [9740]. Fixes #13480
git-svn-id: https://develop.svn.wordpress.org/trunk@14777 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 14:15:59 +00:00
Andrew Nacin f9de14b1a7 Custom background UI updates. Add padding to radio buttons, also convert repeat/title to radio buttons. props JohnONolan, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14775 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 03:31:35 +00:00
Andrew Nacin fc29f5f077 New screen options tab design. props JohnONolan, fixes #13477.
git-svn-id: https://develop.svn.wordpress.org/trunk@14774 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 03:20:25 +00:00
Andrew Nacin fd3a2be9dd Fix nav menu locations sorting. props jorbin, koopersmith with assists. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14772 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 22:43:14 +00:00
Peter Westwood 46f12c5a8b First pass of conversion of theme-compat to the I18N version of the files. See #12425
git-svn-id: https://develop.svn.wordpress.org/trunk@14771 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:53:11 +00:00
Andrew Nacin 48b57724dd Shake away old files during the upgrade process. see #13307.
git-svn-id: https://develop.svn.wordpress.org/trunk@14770 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:44:33 +00:00
Peter Westwood 02e53f9a8f bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@14769 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:43:18 +00:00
Peter Westwood 82a44c5a3b Attempt to make stripslashes_deep object safe. See #12860
git-svn-id: https://develop.svn.wordpress.org/trunk@14766 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:16:44 +00:00
Andrew Nacin 1356037d95 Remove non-gzipped version of tinymce. Brace for impact. props azaozz. see #13307.
git-svn-id: https://develop.svn.wordpress.org/trunk@14765 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:05:16 +00:00
Andrew Nacin 89bc55a218 Remove AYS for deleting a menu item. fixes #13330.
git-svn-id: https://develop.svn.wordpress.org/trunk@14756 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 14:55:11 +00:00
Andrew Nacin 1db32f4b9f Context and translator comments for revisions column names. props dimadin, fixes #13434.
git-svn-id: https://develop.svn.wordpress.org/trunk@14753 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 19:20:22 +00:00
Ryan Boren b6d8dbf426 Order menu tabs by name. Allow passing args to wp_get_nav_menus() which are passed on to get_terms(). Default orderby for wo_get_nav_menus() to none since most requests won't care about order. fixes #13334
git-svn-id: https://develop.svn.wordpress.org/trunk@14751 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 18:52:37 +00:00
Ryan Boren 8203d22175 Fix pages setup in setup_postdata(). Props misterbisson. fixes #12651
git-svn-id: https://develop.svn.wordpress.org/trunk@14750 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 18:39:48 +00:00
Ryan Boren efff0fe8bb Fix viewing autosave revision for custom post types. Props duck_. fixes #13110
git-svn-id: https://develop.svn.wordpress.org/trunk@14749 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 18:36:52 +00:00
Peter Westwood cfa9702197 Mark the ULs containing child pages in the page Walker. Fixes #13254 props GDragoN.
git-svn-id: https://develop.svn.wordpress.org/trunk@14747 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 17:24:28 +00:00
Ryan Boren d97fc1a61a Add docs for ->insert_id. Props scribu. fixes #13439
git-svn-id: https://develop.svn.wordpress.org/trunk@14745 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 16:07:42 +00:00
Mark Jaquith c3ba440221 Add AYS notice on unsaved menu changes. see #12472
git-svn-id: https://develop.svn.wordpress.org/trunk@14741 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 09:56:02 +00:00
Mark Jaquith bb442c8899 Add missing border to media upload frame. fixes #13430. props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@14739 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 07:03:24 +00:00
Mark Jaquith dafdd33220 Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: https://develop.svn.wordpress.org/trunk@14730 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 22:08:49 +00:00
Ryan Boren b8a9ec8972 Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14729 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 20:14:03 +00:00
Ryan Boren 683beac99a Remove interface.js. Unmaintained, doesn't work with jQuery 1.3, old, crusty, starting to smell like Miss Havisham's cake. fixes #13442
git-svn-id: https://develop.svn.wordpress.org/trunk@14728 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 18:34:36 +00:00
Ryan Boren c61dc41101 Remove old metaboxorder settings. see #13424
git-svn-id: https://develop.svn.wordpress.org/trunk@14726 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:30:05 +00:00
Ryan Boren bc086f5cad Add nonce to menu-locations-save. Props koopersmith. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14725 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:16:58 +00:00
Andrew Nacin e005e28966 Inline docs for menu location functions. props jorbin, see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14721 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 05:59:25 +00:00
Andrew Nacin cb75ebbb54 Remove autocomplete and codepress. for autocomplete, see #13283. for codepress, see #13307.
git-svn-id: https://develop.svn.wordpress.org/trunk@14718 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 03:48:22 +00:00
Andrew Nacin 560acd7b63 Save menu locations meta box via ajax. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14715 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 23:58:56 +00:00
Ryan Boren e88dc2d87d Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: https://develop.svn.wordpress.org/trunk@14713 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 16:39:36 +00:00
Ryan Boren 77ab66972b Update _fill_many_users() phpdoc. Props miqrogroove. see #13319
git-svn-id: https://develop.svn.wordpress.org/trunk@14712 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 16:23:35 +00:00
Ryan Boren 1c93bc2006 Introduce get_term_feed_link(). Use it in wp_list_categories(). Props blepoxp. see #13058
git-svn-id: https://develop.svn.wordpress.org/trunk@14711 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 16:21:12 +00:00
Ron Rennick cff1c00885 use network_home_url in get_blogaddress_by_name, see #12735
git-svn-id: https://develop.svn.wordpress.org/trunk@14703 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 22:21:06 +00:00
Ron Rennick 179273030a improvements to get_home/site_url, props andreasnrb + code cleanup, see #12735
git-svn-id: https://develop.svn.wordpress.org/trunk@14702 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:58:31 +00:00
Peter Westwood a0740155c5 Make get_attachment_metadata() loop safe.
git-svn-id: https://develop.svn.wordpress.org/trunk@14699 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:00:00 +00:00
Peter Westwood b0ff90ab6f Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@14697 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:48:09 +00:00
Peter Westwood fd4a9ffa86 Switch to checking on tt_ids for the category lookup to ensure in_array call is PHP4 compatible. See #13410
git-svn-id: https://develop.svn.wordpress.org/trunk@14696 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:47:18 +00:00
Peter Westwood 8d94af2efd Don't return data for user 1 when passed in junk like an array. See #13317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14695 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:34:02 +00:00
Peter Westwood 2702a216c4 Fix remaining notice when using closures. Fixes #10493 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14691 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 13:41:02 +00:00
Peter Westwood bfb56d204b Fix notices/usage of closures as action/filter handlers. Fixes #10493 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14690 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 08:10:39 +00:00
Andrew Nacin 542dea5b25 Use p instead of definition list for allowed tags in comment_form(). props demetris. Style the new markup in Twenty Ten. see #10910.
git-svn-id: https://develop.svn.wordpress.org/trunk@14689 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 06:38:58 +00:00
Andrew Nacin 5f287dcb6d Clarify that link_before and link_after text for wp_list_pages also applies to the current page which doesn't actually have a link. fixes #12247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14687 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 06:11:43 +00:00
Andrew Nacin 2839ecfd01 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: https://develop.svn.wordpress.org/trunk@14686 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:39:53 +00:00
Andrew Nacin ae5af53f10 Custom background UI updates. props ocean90 for initial patch, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14684 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:17:57 +00:00
Ron Rennick 95694cb813 show upload limit in media upload UI, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14682 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 23:57:32 +00:00
Ron Rennick 9ad643991f don't check upload_path in upgraded MU install, see #12549
git-svn-id: https://develop.svn.wordpress.org/trunk@14680 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:53:18 +00:00
Andrew Nacin e6fcc1df7c Don't show unapproved comments in comments widget. props jshreve, fixes #10615.
git-svn-id: https://develop.svn.wordpress.org/trunk@14679 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:44:12 +00:00
Peter Westwood 6979d55fbe Don't trim whitespace from sections of the response in IXR_Client. Fixes #12559 props apeatling.
git-svn-id: https://develop.svn.wordpress.org/trunk@14677 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:04:26 +00:00
Peter Westwood 01b1ae4e39 Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@14676 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:59:02 +00:00
Andrew Nacin 23d6bf302c More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14673 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:36:49 +00:00
Andrew Nacin 317abe4473 Remove p tag from allowed nav menu container tags. Cannot validly contain block level elements. props Jorbin, fixes #13349.
git-svn-id: https://develop.svn.wordpress.org/trunk@14666 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 15:05:57 +00:00
Ryan Boren 14d8731a49 Don't update_post_caches if a persistent object cache is installed. fixes #12611
git-svn-id: https://develop.svn.wordpress.org/trunk@14665 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 15:00:53 +00:00
Ryan Boren afc24755fc autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: https://develop.svn.wordpress.org/trunk@14663 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 14:03:46 +00:00
Mark Jaquith cb34d30d8e Update media upload window tabs CSS to support wrapping of tabs when they exceed the available width. props edward mindreantre. fixes #10242
git-svn-id: https://develop.svn.wordpress.org/trunk@14661 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 10:21:10 +00:00
Mark Jaquith 45dec2e4e8 Do not show dummy default category output when calling the_category on a post_type that does not support the category taxonomy (like pages). Fix TwentyTen theme to not display wrapping text if there are no categories. fixes #10333
git-svn-id: https://develop.svn.wordpress.org/trunk@14660 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 09:59:15 +00:00
Andrew Nacin 43c09c9587 Also return raw author name and URI from get_theme_data and get_themes. props blepoxp, fixes #12275.
git-svn-id: https://develop.svn.wordpress.org/trunk@14658 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:28:35 +00:00
Andrew Nacin e6ae8c05e8 Always pass post ID, not post object, to the_title filter. Original the_title filter in get_the_title() uses ID only. props filosofo, fixes #12631.
git-svn-id: https://develop.svn.wordpress.org/trunk@14653 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:26:25 +00:00
Andrew Nacin 7d118a4628 Remove default_comment_status_pages setting from the options table. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14651 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:01:04 +00:00
Andrew Nacin f92765c934 Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14650 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 04:56:56 +00:00
Andrew Nacin 5aa7280d6a Introduce wp_check_filetype_and_ext() to handle mime/ext image comparisons and corrections for upload and sideload. props Viper007Bond, see #11946.
git-svn-id: https://develop.svn.wordpress.org/trunk@14649 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 04:47:03 +00:00
Ryan Boren 35cd94b58c register_post_type phpdoc updates. Props michaelh. fixes #13398
git-svn-id: https://develop.svn.wordpress.org/trunk@14648 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 22:26:07 +00:00
Andrew Nacin 47136b319f Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:46:25 +00:00
Peter Westwood 7d675404ca Restore the correct behaviour of bloginfo('text_direction'). Fixes #13360. See #13206.
git-svn-id: https://develop.svn.wordpress.org/trunk@14646 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:22:14 +00:00
Ryan Boren 28f42b1b8b Don't output empty title. Props mattwiebe, ptahdunbar. fixes #13240
git-svn-id: https://develop.svn.wordpress.org/trunk@14644 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:52:59 +00:00
Peter Westwood 4b3be4e693 Introduce __return_empty_array() and use it instead of create_function in the theme preview.
git-svn-id: https://develop.svn.wordpress.org/trunk@14641 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:55:26 +00:00
Peter Westwood 9b6d7bb63a Bumpity Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14640 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:48:29 +00:00
Peter Westwood 81b12ac87e Introduce __return_zero() and use it instead of create_function in the login header.
Also add version info to __return_true and __return_false.

git-svn-id: https://develop.svn.wordpress.org/trunk@14639 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:46:53 +00:00
Andrew Nacin 1164a4276b Use valid HTML in the theme editor. span instead of div inside an anchor. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14625 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 07:04:17 +00:00
Andrew Nacin 4db10bf0d7 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14620 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:20:30 +00:00
Nikolay Bachiyski 8a95987fad Keep label as a quick way to set up a taxonomy/post type, without diving into the labels array. Deprecate singular_label while there. Props nacin. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14619 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 02:13:49 +00:00
Andrew Nacin 0d472228a2 Add closing tr tag to custom-background.php. Close paragraph tags in the recent comments and posts widget controls. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14617 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:50:46 +00:00
Andrew Nacin ae2148a866 Only save menu item positions on save. Had implications for draft items otherwise. see #13337, props koopersmith.
git-svn-id: https://develop.svn.wordpress.org/trunk@14615 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:32:48 +00:00
Nikolay Bachiyski 599c19481e I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Ron Rennick 05b0578c06 add menu slots/theme_menus, props ryan, see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14611 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 22:14:54 +00:00
Andrew Nacin 98a20461dc Check if HEADER_ constants are defined before continuing. props ocean90, fixes #13367.
git-svn-id: https://develop.svn.wordpress.org/trunk@14610 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 21:44:37 +00:00
Ron Rennick ddcf72d638 block ms-files.php when not multisite, see #11742
git-svn-id: https://develop.svn.wordpress.org/trunk@14609 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 21:40:42 +00:00
Peter Westwood 728b90a13b Introduce wp_reset_postdata(). Use it to reset the post global for the current query_posts() call after using a loop with a new WP_Query object. Fixes #12320 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14607 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 20:39:54 +00:00
Ryan Boren e35fe8d6d9 get_term_by('id') -> get_term(). Add get_term filters to get_term_by.
git-svn-id: https://develop.svn.wordpress.org/trunk@14606 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 19:16:09 +00:00
Andrew Nacin 6e9e34fb52 More wp_navMore inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@14605 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 19:07:08 +00:00
Andrew Nacin 96d6225aa1 More inline doc clarifications for wp_nav_menu. fixes #13370, props jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@14604 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 18:47:35 +00:00
Peter Westwood f782838830 Add commentary about the posts_search filter. See #10667.
git-svn-id: https://develop.svn.wordpress.org/trunk@14603 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 17:34:43 +00:00
Ryan Boren 3c7ca79f6e Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: https://develop.svn.wordpress.org/trunk@14602 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 17:29:45 +00:00
Ryan Boren e628d300b0 s/wp_get_nav_menu_item/walker_nav_menu_start_el/ to be more specific. Pass all start_el() args to the filter. Props tomtomp. fixes #13366
git-svn-id: https://develop.svn.wordpress.org/trunk@14600 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 16:44:12 +00:00
Ryan Boren 0a38355cce Check for WP_Error. Props ptahdunbar. fixes #12949
git-svn-id: https://develop.svn.wordpress.org/trunk@14599 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 16:34:14 +00:00
Ryan Boren c212288b6f Bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14597 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 16:00:16 +00:00
Ryan Boren 84b91a7ede Delete more bad screen options from usermeta. like_escape() blog prefix. fixes #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14596 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 15:59:17 +00:00
Ryan Boren 402b875b3d Attempt canonical redirect only for public post types. Props solarissmoke. see #13125
git-svn-id: https://develop.svn.wordpress.org/trunk@14595 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 15:09:43 +00:00
Andrew Nacin 4f689c8309 Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14593 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 04:10:17 +00:00
Andrew Nacin 39edf881e0 Allow wp_nav_menu_items filters to run on the backend as well. props NathanRice, fixes #13371.
git-svn-id: https://develop.svn.wordpress.org/trunk@14592 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 03:50:26 +00:00
Andrew Nacin a523060469 Nav menu inline doc fixes. props NathanRice, fixes #13370.
git-svn-id: https://develop.svn.wordpress.org/trunk@14591 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 03:46:35 +00:00
Ryan Boren 6648182c8c Don't pass a slug when creating anew menu. This prevents creating a menu whose slug matches a different term in another taxonomy. Props filosofo. fixes #13345
git-svn-id: https://develop.svn.wordpress.org/trunk@14590 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 21:23:29 +00:00
Andrew Nacin 7c0dcdca6b Unset capabilities property when we're done. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14589 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 21:17:38 +00:00
Andrew Nacin 490a0a99cd More typos. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14588 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 21:03:33 +00:00
Andrew Nacin 4a19ba4f0f Fix typos. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14587 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 20:57:47 +00:00
Ryan Boren 686cd3b696 Pass menu id instead of name. Allows menus with commas in the name. Props filosofo. fixes #13368
git-svn-id: https://develop.svn.wordpress.org/trunk@14586 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 20:47:08 +00:00
Andrew Nacin 323342deec Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 20:45:18 +00:00
Andrew Nacin 4b6c5c65c6 Use correct cap check. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14584 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:39:30 +00:00
Andrew Nacin 6f8142acd3 Blue scheme for nav menu admin UI. props kpdesign, duck_. fixes #13190.
git-svn-id: https://develop.svn.wordpress.org/trunk@14583 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:31:11 +00:00
Andrew Nacin a687ece1a8 Don't nest p tag inside the opening table tag in the new right now box. fixes IE display, and validation. fixes #12202, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14582 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:29:35 +00:00
Andrew Nacin 49e4cad78c Use the edit_theme_options capability. fixes #13290.
git-svn-id: https://develop.svn.wordpress.org/trunk@14581 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:19:57 +00:00
Andrew Nacin 3ad374984a Whitespace and standards in get_userdata. fixes #13317.
git-svn-id: https://develop.svn.wordpress.org/trunk@14579 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 18:59:03 +00:00
Ryan Boren 9e8a9b7b2a Bumpity bump bump
git-svn-id: https://develop.svn.wordpress.org/trunk@14576 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 15:24:31 +00:00
Andrew Nacin 92d97fad12 Allow for multiple classes and XFN relationships in menu items.
git-svn-id: https://develop.svn.wordpress.org/trunk@14574 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 23:58:26 +00:00
Ryan Boren ee1bdf9c7a Setup user globals for user id 0. Props mdawaffe. fixes #13362
git-svn-id: https://develop.svn.wordpress.org/trunk@14573 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 23:02:40 +00:00
Nikolay Bachiyski ad3881470e I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 19:52:50 +00:00
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