Commit Graph

7127 Commits

Author SHA1 Message Date
Andrew Nacin
22cbdf0c6a Use object names instead of 'Edit' in submenus. props jane, fixes #11274.
git-svn-id: https://develop.svn.wordpress.org/trunk@14856 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 21:09:55 +00:00
Ryan Boren
1c232307a0 Help for edit.php. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14855 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 20:46:27 +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
Ryan Boren
0fcd59eab5 Don't link to cat2tag importer since it might not be installed. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14853 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:54:46 +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
e72dcec869 Change search box label to 'search installed plugins' for clarity. props jane, duck_, fixes #13518.
git-svn-id: https://develop.svn.wordpress.org/trunk@14851 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:43:36 +00:00
Ryan Boren
8b0b751b70 Fix styling of underlines for menus admin. Props koopersmith. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14848 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:31:07 +00:00
Andrew Nacin
38dc28c7a8 Use shorthand. props hakre, fixes #13512.
git-svn-id: https://develop.svn.wordpress.org/trunk@14847 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:29:31 +00:00
Ryan Boren
d681342167 Better text for locations box. Props filosofo. fixes #13520 see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14846 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:27:57 +00:00
Mark Jaquith
2a90aeb2a6 stripslashes() the site name before passing to populate_network(), not in it. We should always expect unslashed data. reverts [14754]. fixes #13448
git-svn-id: https://develop.svn.wordpress.org/trunk@14845 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:18:30 +00:00
Ryan Boren
cc560f3877 Don't show view switcher for hierarhical post types. They don't support it yet.
git-svn-id: https://develop.svn.wordpress.org/trunk@14843 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 17:17:24 +00:00
Ryan Boren
e54dbf833d Remove extraneous quote. Props duck_. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14842 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 16:13:44 +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
5258e7eb36 Manage Plugins -> Plugins. see #11274
git-svn-id: https://develop.svn.wordpress.org/trunk@14838 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 15:41:12 +00:00
Ryan Boren
5f4e012b2f Help for Updates screen. Props jane. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14837 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 15:33:59 +00:00
Ryan Boren
20db1996ac Help for dashboard. Props jane. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14836 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 15:28:38 +00:00
Andrew Nacin
6f97d5ccee Styling for menu locations howto text. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14834 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 11:20:58 +00:00
Andrew Nacin
1795c0157a Don't override menu locations on a non-js save. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14833 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 11:15:31 +00:00
Andrew Nacin
b30c9c252e Some menu string improvements. props JohnONolan. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14832 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 09:26:41 +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
Peter Westwood
41bc31f294 Style the error messages in the installer.
git-svn-id: https://develop.svn.wordpress.org/trunk@14828 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 08:18:48 +00:00
Andrew Nacin
0ed95acd34 s/onclick/onClick/. props Gazzer from wp-testers.
git-svn-id: https://develop.svn.wordpress.org/trunk@14827 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 05:15:55 +00:00
Andrew Nacin
d49e62fa35 Show warning in network.php if using a custom wp-content directory. fixes #11742.
git-svn-id: https://develop.svn.wordpress.org/trunk@14825 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 22:19:09 +00:00
Ryan Boren
c3146bd1b5 Minify. see #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@14820 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 16:00:55 +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
3581129c1f Don't output empty html wrappers if no page numbers. Fixes #13497 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@14813 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 07:43:07 +00:00
Dion Hulse
8381bd7a9b Fix potential notice in Upgrade process when failing part-way through. See #13171
git-svn-id: https://develop.svn.wordpress.org/trunk@14812 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 05:59:17 +00:00
Dion Hulse
11fac78a37 Ensure that the entire folder structure exists within the $needed_folders array before attempting to create folders. Fixes cases where the Zip file does not contain a node for a folder which contains subfolders without files in the same level. Fixes #13171
git-svn-id: https://develop.svn.wordpress.org/trunk@14811 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 05:56:31 +00:00
Dion Hulse
606e4106aa Ensure slashing of paths returned by WP_Filesystem_Base::find_folder() is consistent with the slashing of paths; Affects Windows machines using the Direct transport.
git-svn-id: https://develop.svn.wordpress.org/trunk@14810 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 05:54:32 +00:00
Ryan Boren
e24b346263 Use subquery when finding detached objects. Props filosofo. fixes #13496
git-svn-id: https://develop.svn.wordpress.org/trunk@14808 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 23:05:35 +00:00
Ryan Boren
d789bdf5d8 Add cat2tag converter to importer install list. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14807 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 22:54:52 +00:00
Peter Westwood
5e588b4ab4 Allow users to cancel email address changes. Fixes #13457 props mtdewvirus.
git-svn-id: https://develop.svn.wordpress.org/trunk@14802 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 07:53:59 +00:00
Andrew Nacin
2d64541566 Add post_updated_messages filter. Include explicit indexes in the arrays to make it easier for plugin authors to follow. fixes #13444.
git-svn-id: https://develop.svn.wordpress.org/trunk@14801 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 05:40:29 +00:00
Dion Hulse
d0a1400321 Correct the ZipArchive opening test logic. See #13491
git-svn-id: https://develop.svn.wordpress.org/trunk@14800 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 05:09:08 +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
1ac33a73c0 One more RTL tweak. props duck_, fixes #13441.
git-svn-id: https://develop.svn.wordpress.org/trunk@14798 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 23:34:10 +00:00
Andrew Nacin
0c09db7062 Most Recent tab for nav menu meta boxes for post types. props filosofo, see #13217.
git-svn-id: https://develop.svn.wordpress.org/trunk@14797 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 23:32:45 +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
Andrew Nacin
88e4640103 Various CSS fixes for nav menus and RTL. props duck_, fixes #13441.
git-svn-id: https://develop.svn.wordpress.org/trunk@14795 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 23:23:39 +00:00
Andrew Nacin
83ce9d9761 Less clunky export UI. see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14794 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 21:39:35 +00:00
Andrew Nacin
5eeb02d2ea Exclusion instead of inclusion for post types for lost attachment scan. Exclude attachments and any !public types, and don't consider attachments on unregistered post types to be lost. fixes #10911.
git-svn-id: https://develop.svn.wordpress.org/trunk@14789 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 19:23:52 +00:00
Ryan Boren
3bb7cdf6c3 Remove cat/tag importer from list of tools. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14778 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 14:17:41 +00:00
Dion Hulse
997c0f8087 We're not as bold as some people make us out to be. Move the maximum upload size from a Heading to a paragraph text. Fix screen formatting on Multisite when over quota. see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14776 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 12:57:49 +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
fff44ccfd1 Less passive voice and improved language.
git-svn-id: https://develop.svn.wordpress.org/trunk@14773 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 02:31:50 +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
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
a6e3d28d3e Restore some more "Show on screen" headers. See #13393.
git-svn-id: https://develop.svn.wordpress.org/trunk@14768 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:29:45 +00:00
Ryan Boren
3a4313186a Some explanatory text for the theme locations box. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14767 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:25:25 +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
Ron Rennick
7951e68e6f move importers to plugin repo, see #13307
git-svn-id: https://develop.svn.wordpress.org/trunk@14764 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 20:54:28 +00:00
Peter Westwood
059ad3e24f Revert [14755] as this breaks post_meta importing. See #12860.
git-svn-id: https://develop.svn.wordpress.org/trunk@14763 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:44:30 +00:00
Ryan Boren
9a7b926d5c Fix quoting. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14762 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:43:52 +00:00
Ryan Boren
ac71984568 Menu styling fixes for IE. Props filosofo, ocean90. fixes #13388 #13348
git-svn-id: https://develop.svn.wordpress.org/trunk@14761 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:33:57 +00:00
Ryan Boren
280901e0e5 WP_Importer class. Props briancolinger. see #13034
git-svn-id: https://develop.svn.wordpress.org/trunk@14760 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:22:38 +00:00
Ryan Boren
68144f6136 Add install links to the importer list if popular importers are not present. see #13465
git-svn-id: https://develop.svn.wordpress.org/trunk@14759 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:20:25 +00:00
Ryan Boren
2b7ea0729b Make the next available tab active after deleting a tab. Props koopersmith. fixes #13338
git-svn-id: https://develop.svn.wordpress.org/trunk@14758 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 16:57:48 +00:00
Andrew Nacin
6b959a5790 RTL updates. props yoavf. see #13233.
git-svn-id: https://develop.svn.wordpress.org/trunk@14757 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 14:56:20 +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
Ron Rennick
af102213aa add_metadata() already stripslashes & unserializes metadata, fixes #12860
git-svn-id: https://develop.svn.wordpress.org/trunk@14755 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 03:47:25 +00:00
Ron Rennick
705e174f02 strip slashes from site name during network install, fixes #13448
git-svn-id: https://develop.svn.wordpress.org/trunk@14754 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 20:43:53 +00:00
Ryan Boren
9fef68880d Meta box and screen option phpdoc and cleanup. Props hakre. fixes #13017
git-svn-id: https://develop.svn.wordpress.org/trunk@14752 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 19:11:33 +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
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
Ryan Boren
4528488d8e Don't subsitute a translated string into a translated string. Props dimadin. fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14748 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 18:18:26 +00:00
Ryan Boren
00d3a91437 Show local time when a UTC offset is selected. Props ktdreyer. fixes #13408
git-svn-id: https://develop.svn.wordpress.org/trunk@14746 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 16:25:55 +00:00
Ryan Boren
e25c7e1935 Order pages in menu box by menu_order, title. Props filosofo. see #13329
git-svn-id: https://develop.svn.wordpress.org/trunk@14744 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 14:34:29 +00:00
Dion Hulse
794017b16b Do not perform a plugin search for an empty string on the Installed plugins screen. Clicking "Search Plugins" without a term would result in "No plugins to show". See #13451
git-svn-id: https://develop.svn.wordpress.org/trunk@14743 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 13:07:26 +00:00
Dion Hulse
3c5ac11419 Allow for an empty search result set on the Installed Plugin searching, ie. when a non-existent term is searched. Fixes #13451
git-svn-id: https://develop.svn.wordpress.org/trunk@14742 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 13:04:24 +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
e71536c7e3 Remove trailing tabs from nav-menu.dev.js
git-svn-id: https://develop.svn.wordpress.org/trunk@14740 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 08:44:28 +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
Andrew Nacin
dcfc4351c2 Rename wp_save_nav_menu_item to wp_save_nav_menu_items. Though it could handle one item, it expects a mess of post data containing an array of menu items. see #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@14738 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:59:43 +00:00
Mark Jaquith
25d5809ba3 Misc HTML validation fixes. see #13383. props jshreve
git-svn-id: https://develop.svn.wordpress.org/trunk@14737 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:32:39 +00:00
Mark Jaquith
63811b31e6 Use global_terms_enabled() api function. props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@14736 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:23:18 +00:00
Mark Jaquith
029fa3a7d5 Revert accidental inclusion of another patch in [14734]. Doh. Reviewing that one next!
git-svn-id: https://develop.svn.wordpress.org/trunk@14735 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:15:06 +00:00
Mark Jaquith
3aebd43d6f Cast global_terms_enabled to bool before doing checked() so that FALSE matches as well as 0.
git-svn-id: https://develop.svn.wordpress.org/trunk@14734 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:12:01 +00:00
Ron Rennick
fb1ec15763 don't use both /blog & /index.php on main site permalinks, see #13106
git-svn-id: https://develop.svn.wordpress.org/trunk@14733 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 03:42:55 +00:00
Ron Rennick
185624ff30 restore single WP permalink settings per 2.9.X, related #13106, see #13303
git-svn-id: https://develop.svn.wordpress.org/trunk@14732 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 03:15:59 +00:00
Mark Jaquith
e91260238e Correctly set Featured Post Image link after removing/updating. fixes #13033. props PotterSys
git-svn-id: https://develop.svn.wordpress.org/trunk@14731 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 22:14:52 +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
f93aebd433 Remove taxonomy children cache purge. see #11866
git-svn-id: https://develop.svn.wordpress.org/trunk@14727 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:33:32 +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
Ryan Boren
51518f24be Allow removing all categories via quick edit. Props duck_. fixes #13397
git-svn-id: https://develop.svn.wordpress.org/trunk@14724 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:08:05 +00:00
Ryan Boren
aab2aeaa75 Fix adding categories via bulk edit. Props duck_. see #13397
git-svn-id: https://develop.svn.wordpress.org/trunk@14723 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:03:54 +00:00
Ryan Boren
797463a31a Use check_ajax_referer()
git-svn-id: https://develop.svn.wordpress.org/trunk@14722 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 14:51:15 +00:00
Andrew Nacin
c624e0da90 Use echo esc_html, not esc_html_e, which also translates.
git-svn-id: https://develop.svn.wordpress.org/trunk@14720 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 04:58:18 +00:00
Andrew Nacin
7e6f346bdd Translate some hard-coded strings. props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@14719 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 04:41:08 +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
Ron Rennick
8c74a6057e die in non-async upload in [14716], see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14717 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 01:34:01 +00:00
Ron Rennick
38036c72b9 only die on async upload error, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14716 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 01:25:13 +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
b5f90239b8 Don't allow clicking the[+] tab when it is active. Props koopersmith. fixes #13333
git-svn-id: https://develop.svn.wordpress.org/trunk@14714 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 16:43:41 +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
Ron Rennick
54a5f090ab more use get_blogaddress_by_name, see #12735
git-svn-id: https://develop.svn.wordpress.org/trunk@14705 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 23:00:48 +00:00
Peter Westwood
5aa105a6af First pass at making the scan for lost attachments custom post type aware. See #10911.
git-svn-id: https://develop.svn.wordpress.org/trunk@14701 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 21:24:40 +00:00
Ron Rennick
c77318be51 observe fileupload_maxk in media uploader, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14694 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:09:56 +00:00
Ron Rennick
07bca9ef99 boldly go where no man has gone before, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14693 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 18:44:51 +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
d7e1bbb65b Show updated message after resetting or removing the background image. see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14685 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:38:14 +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
Andrew Nacin
d7130b8341 i18n a string. props zeo, fixes #12896
git-svn-id: https://develop.svn.wordpress.org/trunk@14683 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 03:49:50 +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
5e7eb09e19 block creation of 'files' sub site, see #13304
git-svn-id: https://develop.svn.wordpress.org/trunk@14681 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 22:18:40 +00:00
Andrew Nacin
60c2623599 Use upgrade_db instead of step=1 in ms-upgrade-network. Also, no need to check spam/deleted/archived as that is in the query. see #11869.
git-svn-id: https://develop.svn.wordpress.org/trunk@14678 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:36:38 +00:00
Peter Westwood
a441108f91 Fix the column headers title override to use a special name rather than one we use elsewhere.
git-svn-id: https://develop.svn.wordpress.org/trunk@14675 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:57:17 +00:00
Andrew Nacin
43959a6f47 Use show_ui instead of public flag to check whether the post type uses post-new and edit.php. see #13403.
git-svn-id: https://develop.svn.wordpress.org/trunk@14674 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:49:28 +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
904ccf82e8 Validation for ms-sites.php. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14672 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:05:24 +00:00
Andrew Nacin
8df4668ce6 Truncate long menu names in the menu locations box. props koopersmith, see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14671 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:00:48 +00:00
Andrew Nacin
24ad763cfc Validation and nonce improvements to custom background UI. props ocean90, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14670 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:47:03 +00:00
Andrew Nacin
7db348734e Wrap a label around an inline input. Same tactic we use in options-discussion. see [14668].
git-svn-id: https://develop.svn.wordpress.org/trunk@14669 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:27:02 +00:00
Andrew Nacin
edb0105e1d Don't have a label overlap two input boxes in ms-options. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14668 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:21:56 +00:00
Andrew Nacin
8b490dff76 Don't link active menu tabs. props koopersmith, fixes #13333.
git-svn-id: https://develop.svn.wordpress.org/trunk@14667 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 19:18:35 +00:00
Ryan Boren
bdc57b2b3f Use the remove_user cap instead of delete_user. fixes #13325
git-svn-id: https://develop.svn.wordpress.org/trunk@14664 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 14:43:13 +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
Andrew Nacin
83081d3feb Validation for network.php. props dremeda, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14659 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:49:16 +00:00
Andrew Nacin
4861bebf05 Add a form action to network.php. props xibe, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14657 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:19:27 +00:00
Andrew Nacin
8816885c79 Escape slash in inline JS for SWFUploader. props zeo, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14656 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:14:06 +00:00
Andrew Nacin
afd9d6320a Validation and some textarea escaping for ms-options. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14655 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:58:57 +00:00
Andrew Nacin
932214755c Make sure custom post types have unique IDs in the admin menu. props validBen, fixes #12445.
git-svn-id: https://develop.svn.wordpress.org/trunk@14654 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:38:40 +00:00
Andrew Nacin
4d594cc798 Use 'Comments' and 'Links' as page title instead of Edit %s. fixes #11274.
git-svn-id: https://develop.svn.wordpress.org/trunk@14652 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:07:31 +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
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
Ryan Boren
3fe13109a2 Add wp_edit_nav_menu_walker filter for specifying a custom edit nav menu walker. Props filosofo. fixes #13342
git-svn-id: https://develop.svn.wordpress.org/trunk@14645 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 20:06:50 +00:00
Ryan Boren
3ed5168fbe Don't allow previewing auto-draft. Props duck_. fixes #12859
git-svn-id: https://develop.svn.wordpress.org/trunk@14643 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:30:43 +00:00
Ryan Boren
c5ef0f8fc5 Show page template dropdown only for pages and not for other post types. Props greenshady. fixes #12759
git-svn-id: https://develop.svn.wordpress.org/trunk@14642 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:20:04 +00:00
Peter Westwood
db0df6a9c0 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: https://develop.svn.wordpress.org/trunk@14638 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:45:14 +00:00
Peter Westwood
bbc1edced6 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: https://develop.svn.wordpress.org/trunk@14637 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:39:56 +00:00
Peter Westwood
10abe48571 Remove unnecessary filters and provide for translation context instead. Fixes #13393.
git-svn-id: https://develop.svn.wordpress.org/trunk@14636 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:12:46 +00:00
Peter Westwood
f73384ffe8 Only show the column preferences if we have columns. See #13393 props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@14635 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:49:20 +00:00
Peter Westwood
1302562718 Add phpDoc for convert_to_screen() and get_column_headers().
git-svn-id: https://develop.svn.wordpress.org/trunk@14634 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:47:14 +00:00
Andrew Nacin
d999daff98 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14633 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:03:59 +00:00
Andrew Nacin
55f868469e Valid HTML in ms-users and ms-sites. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14632 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:03:23 +00:00
Andrew Nacin
1a1ae174ba Only show published items of custom post types in nav menu meta boxes. props duck_, fixes #13390.
git-svn-id: https://develop.svn.wordpress.org/trunk@14631 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 13:12:45 +00:00
Andrew Nacin
06fc3ff50f Close wrapper div when ending network_step1 with a warning. props Caspie, fixes #13389.
git-svn-id: https://develop.svn.wordpress.org/trunk@14630 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 12:34:48 +00:00
Andrew Nacin
9af98709d8 Ensure validation. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14628 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 08:20:06 +00:00
Andrew Nacin
265a0fedd2 Align default items shown in edit.php. props ocean90, fixes #13312.
git-svn-id: https://develop.svn.wordpress.org/trunk@14627 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 08:11:22 +00:00
Andrew Nacin
a6a1d04ead Ensure validation. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14626 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 08:07:01 +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
6924c645b7 Use inline styles in custom background admin, and prepopulate background options. props jshreve, see #12186.
git-svn-id: https://develop.svn.wordpress.org/trunk@14624 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:48:47 +00:00
Andrew Nacin
09366e9439 If theme has registered menus, set the first menu created to the first registered location by default. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14623 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:44:54 +00:00
Andrew Nacin
aabf2458f4 Remove trailing space from a localized string.
git-svn-id: https://develop.svn.wordpress.org/trunk@14622 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:38:01 +00:00
Andrew Nacin
151f5eb77d Only show Theme Locations meta box if menus exist and if the theme has registered menus. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14621 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:35:57 +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
Andrew Nacin
21db580d98 Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14618 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:54:21 +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
df111e4021 Use 'Posts', 'Pages', and corresponding custom post type names as the edit.php title. fixes #12968, fixes #11274.
git-svn-id: https://develop.svn.wordpress.org/trunk@14616 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:45:30 +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
Ryan Boren
ad1a5e30fa Remove 'slots' from menu tabs. Going a different direction. see #14611
git-svn-id: https://develop.svn.wordpress.org/trunk@14612 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 22:57:42 +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
Peter Westwood
38407f0af5 Fix the default password nag clearer to work when an admin sets someone elses password away from the default. Fixes #12334.
git-svn-id: https://develop.svn.wordpress.org/trunk@14608 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 21:08:01 +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
4330e2578b Go to first tab instead of + after deleting a menu. see #13338
git-svn-id: https://develop.svn.wordpress.org/trunk@14601 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 17:22:02 +00:00
Ryan Boren
580e82b661 Limit initial menu meta boxes only if option is not set. Props ocean90. fixes #13359
git-svn-id: https://develop.svn.wordpress.org/trunk@14598 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 16:21:21 +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
Andrew Nacin
a56d439b4d Change is_multisite check for hiding a term slug on edit-tags.php to checking for global terms.
git-svn-id: https://develop.svn.wordpress.org/trunk@14594 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 04:12:57 +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
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
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
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
Ryan Boren
df2498e980 Fix bulk editing of non-hierarchical taxonomies. Props prettyboymp. fixes #13153
git-svn-id: https://develop.svn.wordpress.org/trunk@14580 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:12:18 +00:00
Ryan Boren
6ecfb58997 Remove only the background image, not all theme mods, when resetting the background to the default. Props ocean90. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@14578 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 16:18:25 +00:00
Ryan Boren
d43d37baa9 Remove redundant CSS, lighten up border on background preview, change labels for background preview. Props johnonolan. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@14577 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 16:03:49 +00:00
Andrew Nacin
22ce2c36c4 Remove unused global. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14572 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 20:02:49 +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
6aa60bf619 Use get_users_of_blog in MT importer to be MS and shared user table friendly. props lloydbudd, fixes #13356.
git-svn-id: https://develop.svn.wordpress.org/trunk@14570 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 19:19:59 +00:00
Ryan Boren
511e11006c Don't wp_count_terms(). Just count the results returned from get_terms(), which has to run anyway. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14569 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:55:12 +00:00
Ryan Boren
73d2946dfa Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14568 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:43:12 +00:00
Ryan Boren
411f09b811 No need to recount. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14567 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 18:38:51 +00:00
Ryan Boren
7be65b3730 Defer term counting until all nav menu items are updated. see #12734
git-svn-id: https://develop.svn.wordpress.org/trunk@14562 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-11 16:41:23 +00:00
Ron Rennick
b30b30b943 allow super admins to edit authors on all sites, props mtdewvirus, fixes #13270
git-svn-id: https://develop.svn.wordpress.org/trunk@14554 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:46:35 +00:00
Ron Rennick
dddb4b9326 revert non-rewrite permalink settings to be compatible with 2.9, see 13106
git-svn-id: https://develop.svn.wordpress.org/trunk@14553 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 22:06:27 +00:00
Mark Jaquith
9ccf5de9de Handle manual saving of auto-drafts for Contributors without JavaScript. props jbsil. fixes #13133
git-svn-id: https://develop.svn.wordpress.org/trunk@14551 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:21:42 +00:00
Peter Westwood
208fe21987 Ensure the nonce is available even if no media items exist or are un-attached. Fixes #13284.
git-svn-id: https://develop.svn.wordpress.org/trunk@14548 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:55:52 +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
81ec5c6d42 Apply [14540] to get_mu_plugins and get_dropins. fixes #13322, props Miloslav.
git-svn-id: https://develop.svn.wordpress.org/trunk@14545 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:40:15 +00:00
Ryan Boren
eac401c171 Don't use closed dir handle. Props Miloslav. fixes #13322
git-svn-id: https://develop.svn.wordpress.org/trunk@14540 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 16:06:46 +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
Andrew Nacin
1cdd8d707e Remove old code that breaks menu design rendering. props koopersmith, fixes #13311.
git-svn-id: https://develop.svn.wordpress.org/trunk@14530 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 04:49:52 +00:00
Peter Westwood
6847f8e171 Fix typos. Props Utkarsh.
git-svn-id: https://develop.svn.wordpress.org/trunk@14524 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-09 09:59:43 +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
Ron Rennick
e3ee37d8a2 don't allow blog sub site in folder install, see #13304
git-svn-id: https://develop.svn.wordpress.org/trunk@14516 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 18:37:38 +00:00
Ron Rennick
0d826fa206 add subdomain explanation to network install, see #12931
git-svn-id: https://develop.svn.wordpress.org/trunk@14514 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 15:43:00 +00:00
Ron Rennick
9c8a73aa37 add network install rule, filter & UI tweaks, see #12931
git-svn-id: https://develop.svn.wordpress.org/trunk@14513 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 15:25:33 +00:00
Peter Westwood
e88177d901 Only hide the bulk actions and not the filters when no comments. Fixes #13193.
git-svn-id: https://develop.svn.wordpress.org/trunk@14512 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-08 10:10:41 +00:00
Ron Rennick
b5f96d7953 make end month in export inclusive, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14509 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 21:53:11 +00:00
Ron Rennick
97af53477e include dates from all post types/stati. props michaelh, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14506 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:51:01 +00:00
Andrew Nacin
c812b3a06b PHP4 compat in nav menu name truncation. props blepoxp, fixes #13295.
git-svn-id: https://develop.svn.wordpress.org/trunk@14505 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 20:49:45 +00:00
Andrew Nacin
40aa2e543b Fix warnings in WordPress importer. props briancolinger, fixes #13263.
git-svn-id: https://develop.svn.wordpress.org/trunk@14497 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 04:35:10 +00:00
Andrew Nacin
4b724a5d34 Use a more generic string for GUU plugins and themes, as inactive items aren't 'running.' fixes #12517.
git-svn-id: https://develop.svn.wordpress.org/trunk@14496 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 04:30:53 +00:00
Andrew Nacin
8d35ae8161 Simple warning text for global terms. Probably not enough considering the sky will fall on your head if you enable them, but it's a start. fixes #12666.
git-svn-id: https://develop.svn.wordpress.org/trunk@14494 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 02:58:35 +00:00
Andrew Nacin
49416615b4 Add missing closing div tags to some edit-comments.php branches. props JohnONolan, fixes #13287.
git-svn-id: https://develop.svn.wordpress.org/trunk@14493 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 02:38:12 +00:00
Nikolay Bachiyski
e076d0b0ac Use sprintf instead of interpolation in translatable strings. Props demetris, fixes #13286
git-svn-id: https://develop.svn.wordpress.org/trunk@14492 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 00:50:12 +00:00
Andrew Nacin
a30c320a55 Bump memory_limit for admins in wp-admin. Should help in imports, upgrades, uploads, etc. props MarkJaquith.
git-svn-id: https://develop.svn.wordpress.org/trunk@14491 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 21:36:55 +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
Andrew Nacin
368521cd69 Ensure valid HTML in the nav menu UI. props ocean90, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14482 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:19:53 +00:00
Andrew Nacin
86801ae5fe Use menu-bits-rtl image for RTL nav menu UI. props RanYanivHartstein, see #13166.
git-svn-id: https://develop.svn.wordpress.org/trunk@14481 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 18:33:27 +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
8996028929 Remove more trailing commas in nav menus JS. props koopersmith and ocean90, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14474 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 15:40:29 +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
Andrew Nacin
6c397f5e43 Only make one ajax call for multiple items. Also move jQuery extensions into their own function. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14468 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 21:23:53 +00:00
Andrew Nacin
13e9671554 Minor JS var declaration optimizations. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14467 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 21:06:43 +00:00
Andrew Nacin
e480eb8b50 Trim trailing whites from nav-menu js.
git-svn-id: https://develop.svn.wordpress.org/trunk@14465 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:37:32 +00:00
Andrew Nacin
971d337bd3 Consolidate nav menu item ajax. Other misc fixes. props koopersmith, see #13204.
git-svn-id: https://develop.svn.wordpress.org/trunk@14464 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 20:29:50 +00:00
Andrew Nacin
71c9ad21de Link to active plugins when we block a Network upgrade due to them. props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14463 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 18:43:54 +00:00
Peter Westwood
16db1d5699 Remove the trash warning on permalinks for now as the current implementation doesn't work very well. See #11863
git-svn-id: https://develop.svn.wordpress.org/trunk@14462 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 07:37:51 +00:00
Peter Westwood
e52964ab4d Switch to a constant string to make it possible to translate. See #11863.
git-svn-id: https://develop.svn.wordpress.org/trunk@14461 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 07:10:53 +00:00
Andrew Nacin
febbe5b9ea Media RTL fixes. props yoavf, fixes #12818.
git-svn-id: https://develop.svn.wordpress.org/trunk@14460 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-05 06:24:24 +00:00
Andrew Nacin
c2c58d26d8 Show meta boxes when no JS, as we don't have screen options to turn them on. props filosofo, fixes #13253.
git-svn-id: https://develop.svn.wordpress.org/trunk@14459 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 22:28:51 +00:00
Andrew Nacin
14c06f5e81 Use correct field name. fixes menu ordering issues. props filosofo, fixes #13256.
git-svn-id: https://develop.svn.wordpress.org/trunk@14454 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:28:31 +00:00
Andrew Nacin
15eb5cc5d3 Remove unused woo nav menu icons. fixes #12876
git-svn-id: https://develop.svn.wordpress.org/trunk@14453 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 21:06:28 +00:00
Andrew Nacin
42e9ce36fc Deprecate VHOST in favor of a boolean, SUBDOMAIN_INSTALL. Core will keep VHOST defined for plugins' sake, but you should only define SUBDOMAIN_INSTALL. Throws a notice if VHOST is defined, and a warning if they somehow conflict. Sunrise can still handle them. fixes #11796.
git-svn-id: https://develop.svn.wordpress.org/trunk@14452 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 20:48:28 +00:00
Ron Rennick
0a20229178 add default comment status setting to populate_options(), see #12991
git-svn-id: https://develop.svn.wordpress.org/trunk@14451 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:54:42 +00:00
Andrew Nacin
6034c105d6 Non-JS menu ordering fixes, also parent handling fixes. props filosofo, fixes #13135, fixes #13249
git-svn-id: https://develop.svn.wordpress.org/trunk@14450 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:40:04 +00:00
Andrew Nacin
f6534374e7 Early pass on RTL for nav menu UI. props yoavf, see #13166
git-svn-id: https://develop.svn.wordpress.org/trunk@14449 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:34:38 +00:00
Ron Rennick
bdb89ac091 add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: https://develop.svn.wordpress.org/trunk@14448 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 19:31:24 +00:00
Ron Rennick
7874be066e add warning on slug conflict with trash, props williamsba1, see #11863
git-svn-id: https://develop.svn.wordpress.org/trunk@14446 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 18:18:35 +00:00
Ron Rennick
0e9d18f366 export improvements, props blepoxp, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14444 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:31:36 +00:00
Andrew Nacin
84578d128b Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: https://develop.svn.wordpress.org/trunk@14443 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:13:11 +00:00
Andrew Nacin
9c37369cd5 Define home_url() in load-scripts.php. see #9008, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14442 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:08:28 +00:00
Andrew Nacin
16d48e323b More menu improvements. Add link that adds a menu item to the home page, make empty menu dropzone slightly larger, limit selected items to the active tab. props koopersmith and ptahdunbar. see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14439 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 10:01:15 +00:00
Andrew Nacin
cc8ae672a6 Fix 'Select All' for the new drag/drop code. props koopersmith, see #13220.
git-svn-id: https://develop.svn.wordpress.org/trunk@14438 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:54:35 +00:00
Andrew Nacin
6d40008887 @since for some new ms functions re: upload file size limits. see #12853.
git-svn-id: https://develop.svn.wordpress.org/trunk@14437 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:41:46 +00:00
Andrew Nacin
13e1cfef44 Have 'Add to Menu' and multiple-item drag/drop only affect one meta box at a time. props ptahdunbar, with koopersmith. Non-JS will still handle the meta boxes all together as one form. see #13220, see #13219.
git-svn-id: https://develop.svn.wordpress.org/trunk@14436 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 08:31:40 +00:00
Andrew Nacin
a87ced35aa Add ability to drag objects from meta boxes and drop them into your menu. Includes multiple-select before dragging. Select all is todo. Checkboxes remain non-JS fallback. props koopersmith, see #13247.
git-svn-id: https://develop.svn.wordpress.org/trunk@14434 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 07:24:49 +00:00
Ryan Boren
56e95f24c5 Fix user validation feedback. Props sivel. fixes #13162
git-svn-id: https://develop.svn.wordpress.org/trunk@14428 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:46:42 +00:00
Dion Hulse
1fc13e3b48 Silence PHP Warnings on is_writable calls. Can trigger open_basedir warnings on certain hosting environments. Props ocean90. Fixes #12866
git-svn-id: https://develop.svn.wordpress.org/trunk@14427 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:39:57 +00:00
Dion Hulse
52cdae0385 Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14426 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:35:22 +00:00
Ron Rennick
fb0fffbce5 themes admin pages UI cleanup, props PeteMall, see #13238
git-svn-id: https://develop.svn.wordpress.org/trunk@14425 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:25:14 +00:00
Andrew Nacin
09fda79a16 Add 'Network Activate' link to the plugin upgrader class. props PeteMall, fixes #13097.
git-svn-id: https://develop.svn.wordpress.org/trunk@14424 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:18:49 +00:00
Andrew Nacin
f7dfc84136 Fix non-JS menu item close button. props duck_, fixes #13203
git-svn-id: https://develop.svn.wordpress.org/trunk@14423 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:08:02 +00:00
Ryan Boren
172c975f2d User deletion fixes. Props yoavf. fixes #13242
git-svn-id: https://develop.svn.wordpress.org/trunk@14422 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 23:04:42 +00:00
Ron Rennick
e35e6165ab limit upload size to site's available limit, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14420 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:40:02 +00:00
Andrew Nacin
b2093dbdfd Provide a context to wp_handle_upload to differentiate between upload and sideload. props technosailor, fixes #12740.
git-svn-id: https://develop.svn.wordpress.org/trunk@14418 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:16:48 +00:00
Nikolay Bachiyski
6eba1c3232 Use get_available_languages() in options-general.php instead of manually looping on the language dir. Props sivel. Fixes #13023
git-svn-id: https://develop.svn.wordpress.org/trunk@14416 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 22:06:49 +00:00
Andrew Nacin
066caaa9fa Remove unused CSS. props koopersmith, see #13220
git-svn-id: https://develop.svn.wordpress.org/trunk@14413 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 21:21:55 +00:00