Commit Graph

6792 Commits

Author SHA1 Message Date
ryan
23e3b38d4f Show page template dropdown only for pages and not for other post types. Props greenshady. fixes #12759
git-svn-id: http://svn.automattic.com/wordpress/trunk@14642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 18:20:04 +00:00
westi
867628913e Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:45:14 +00:00
westi
e5fa82c152 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:39:56 +00:00
westi
7d40d97601 Remove unnecessary filters and provide for translation context instead. Fixes #13393.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 16:12:46 +00:00
westi
82a12075bf Only show the column preferences if we have columns. See #13393 props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:49:20 +00:00
westi
30128f636e Add phpDoc for convert_to_screen() and get_column_headers().
git-svn-id: http://svn.automattic.com/wordpress/trunk@14634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:47:14 +00:00
nacin
518b19a404 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:03:59 +00:00
nacin
c13744a051 Valid HTML in ms-users and ms-sites. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 15:03:23 +00:00
nacin
d12cdce1b0 Only show published items of custom post types in nav menu meta boxes. props duck_, fixes #13390.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 13:12:45 +00:00
nacin
e01bcf8d2e Close wrapper div when ending network_step1 with a warning. props Caspie, fixes #13389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 12:34:48 +00:00
nacin
cb0a9024ad Ensure validation. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 08:20:06 +00:00
nacin
5478a0a538 Align default items shown in edit.php. props ocean90, fixes #13312.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 08:11:22 +00:00
nacin
85655c586f Ensure validation. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 08:07:01 +00:00
nacin
37ce82fd24 Use valid HTML in the theme editor. span instead of div inside an anchor. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 07:04:17 +00:00
nacin
c5c6244c50 Use inline styles in custom background admin, and prepopulate background options. props jshreve, see #12186.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:48:47 +00:00
nacin
f00bc39c20 If theme has registered menus, set the first menu created to the first registered location by default. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:44:54 +00:00
nacin
c3d2c8ff79 Remove trailing space from a localized string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:38:01 +00:00
nacin
c5d2cdc52d Only show Theme Locations meta box if menus exist and if the theme has registered menus. see #13378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:35:57 +00:00
nacin
a743de0788 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: http://svn.automattic.com/wordpress/trunk@14620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 06:20:30 +00:00
nacin
7bd274899d Append closing td/tr to output instead of directly echoing it. props jshreve, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:54:21 +00:00
nacin
ab0cf8d942 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: http://svn.automattic.com/wordpress/trunk@14617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:50:46 +00:00
nacin
6d590a567b Use 'Posts', 'Pages', and corresponding custom post type names as the edit.php title. fixes #12968, fixes #11274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:45:30 +00:00
nacin
3f796315da Only save menu item positions on save. Had implications for draft items otherwise. see #13337, props koopersmith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 01:32:48 +00:00
nbachiyski
4cf46b6d96 I18n for custom taxonomies. Fixes #13357
git-svn-id: http://svn.automattic.com/wordpress/trunk@14614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 00:34:04 +00:00
ryan
ed425661e9 Remove 'slots' from menu tabs. Going a different direction. see #14611
git-svn-id: http://svn.automattic.com/wordpress/trunk@14612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 22:57:42 +00:00
wpmuguru
21bef33fc6 add menu slots/theme_menus, props ryan, see #13378
git-svn-id: http://svn.automattic.com/wordpress/trunk@14611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 22:14:54 +00:00
westi
50b197cf94 Fix the default password nag clearer to work when an admin sets someone elses password away from the default. Fixes #12334.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 21:08:01 +00:00
ryan
067fc117cb Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: http://svn.automattic.com/wordpress/trunk@14602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 17:29:45 +00:00
ryan
e4ca88c1e8 Go to first tab instead of + after deleting a menu. see #13338
git-svn-id: http://svn.automattic.com/wordpress/trunk@14601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 17:22:02 +00:00
ryan
282f3be632 Limit initial menu meta boxes only if option is not set. Props ocean90. fixes #13359
git-svn-id: http://svn.automattic.com/wordpress/trunk@14598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 16:21:21 +00:00
ryan
0ce49ca934 Delete more bad screen options from usermeta. like_escape() blog prefix. fixes #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 15:59:17 +00:00
nacin
44de0d4ff9 Change is_multisite check for hiding a term slug on edit-tags.php to checking for global terms.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:12:57 +00:00
nacin
af91e5264a 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: http://svn.automattic.com/wordpress/trunk@14593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-13 04:10:17 +00:00
nacin
70f36f6c41 More typos. see #13358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 21:03:33 +00:00
nacin
7734a07cb2 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: http://svn.automattic.com/wordpress/trunk@14585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 20:45:18 +00:00
nacin
3033d58856 Blue scheme for nav menu admin UI. props kpdesign, duck_. fixes #13190.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:31:11 +00:00
nacin
c779fdccf5 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: http://svn.automattic.com/wordpress/trunk@14582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:29:35 +00:00
nacin
7389ea41ea Use the edit_theme_options capability. fixes #13290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +00:00
ryan
e65ae591a0 Fix bulk editing of non-hierarchical taxonomies. Props prettyboymp. fixes #13153
git-svn-id: http://svn.automattic.com/wordpress/trunk@14580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:12:18 +00:00
ryan
82082002fb Remove only the background image, not all theme mods, when resetting the background to the default. Props ocean90. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@14578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 16:18:25 +00:00
ryan
c982678a0b Remove redundant CSS, lighten up border on background preview, change labels for background preview. Props johnonolan. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@14577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 16:03:49 +00:00
nacin
27eda1fae6 Remove unused global. props lloydbudd, fixes #13356.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 20:02:49 +00:00
nbachiyski
46afe7c285 I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: http://svn.automattic.com/wordpress/trunk@14571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:52:50 +00:00
nacin
00c831f44a Use get_users_of_blog in MT importer to be MS and shared user table friendly. props lloydbudd, fixes #13356.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 19:19:59 +00:00
ryan
321b1a613f Don't wp_count_terms(). Just count the results returned from get_terms(), which has to run anyway. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:55:12 +00:00
ryan
345af3eb47 Don't update term or meta cache for posts queried in wp_nav_menu_item_post_type_meta_box(). see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:43:12 +00:00
ryan
bdb53fa4c3 No need to recount. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 18:38:51 +00:00
ryan
4138294f52 Defer term counting until all nav menu items are updated. see #12734
git-svn-id: http://svn.automattic.com/wordpress/trunk@14562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-11 16:41:23 +00:00
wpmuguru
2e6e3ba76b allow super admins to edit authors on all sites, props mtdewvirus, fixes #13270
git-svn-id: http://svn.automattic.com/wordpress/trunk@14554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 22:46:35 +00:00
wpmuguru
5a30ceb26d revert non-rewrite permalink settings to be compatible with 2.9, see 13106
git-svn-id: http://svn.automattic.com/wordpress/trunk@14553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-10 22:06:27 +00:00