Commit Graph

6763 Commits

Author SHA1 Message Date
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