Commit Graph

287 Commits

Author SHA1 Message Date
duck_
c1d1590171 Fix typos in documentation (wp-admin/). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 14:18:10 +00:00
ryan
c2d37a3d65 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: http://svn.automattic.com/wordpress/trunk@18468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 18:39:57 +00:00
ryan
daa14c36f9 Bring out the pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:45 +00:00
ryan
ebdc0d02b6 Fix warnings in menu.php when plugins.php is enabled for non-supes. Props PeteMall. fixes #17702
git-svn-id: http://svn.automattic.com/wordpress/trunk@18169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 16:59:24 +00:00
nacin
e811e73322 s/Themes Updates/Theme Updates/. props mitchoyoshitaka. fixes #17701.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-06 00:30:17 +00:00
ryan
15a6a89eb0 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 17:05:55 +00:00
ryan
9f677a0847 Use wp-menu-separator after Settings and before the first plugin top-level. Remove trailing separators. fixes #17629
git-svn-id: http://svn.automattic.com/wordpress/trunk@18089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-01 14:41:43 +00:00
ryan
3462aab64e Fix name of plugins submenu. Props ocean90. fixes #17530
git-svn-id: http://svn.automattic.com/wordpress/trunk@18035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:06:42 +00:00
ryan
51fe428865 Rename network admin submenus to not clash with top level menus. Props ocean90, markmcwilliams. see #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@18026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-24 21:58:01 +00:00
azaozz
d2e54b7932 Revert [17943] as it breaks plugins, props johnjamesjacoby, fixes #17484
git-svn-id: http://svn.automattic.com/wordpress/trunk@17950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 06:20:30 +00:00
azaozz
46c545cdba Remove links from the menu separators, see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-17 06:19:00 +00:00
westi
e8ecf0f599 Use the correct cap for the export menu item. Fixes #17452
git-svn-id: http://svn.automattic.com/wordpress/trunk@17937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-16 10:44:42 +00:00
markjaquith
301be4eeef Rename submenus to not clash with top level menus. Introduce all_items CPT string, defaulting to menu_name. fixes #17378
git-svn-id: http://svn.automattic.com/wordpress/trunk@17864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 20:09:28 +00:00
ryan
c39f85038e Don't fetch update info our show update bubbles if the user does not have install caps. Props nacin. fixes #16532
git-svn-id: http://svn.automattic.com/wordpress/trunk@17822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 19:48:13 +00:00
dd32
6000019f89 Hide update bubble counts for users who can't perform the update. Props garyc40 for initial patch. Fixes #14447
git-svn-id: http://svn.automattic.com/wordpress/trunk@17588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-03 08:59:01 +00:00
ryan
ba47c80ef7 Add additional promote_users checks. Show Add existing button only for multisite. Don't show bulk actions if user can't promote users. Show add new user menu if user has create_users but not promote_users. Props nacin. fixes #16501 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:30:26 +00:00
nacin
3a59f70f18 Multisite super admins should still be able to see the Plugins menu in the site admin. fixes #16184.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 07:12:59 +00:00
nacin
b8c4418d50 Only rely on is_super_admin for is_multisite when generating menu code. fixes #16184.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 21:00:23 +00:00
nacin
41423e2dee Use correct variable. props SergeyBiryukov, TobiasBg, fixes #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 19:09:20 +00:00
nacin
b61a5b0526 Update indicator for the Network Admin link. fixes #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 08:36:06 +00:00
nacin
453fd478a1 Use the update_core, update_plugins and update_themes caps in update-core.php. fixes #15866.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-18 18:43:35 +00:00
PeteMall
cab472f456 Remove plugin-install from site admin for is_multisite(). See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 20:11:52 +00:00
nacin
4dd3b77b48 Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:41:19 +00:00
markjaquith
775c840d95 Use get_taxonomies() when iterating taxonomies for menus. props wojtek.szkutnik. fixes #13936
git-svn-id: http://svn.automattic.com/wordpress/trunk@16695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:32:19 +00:00
nacin
d6002995a7 Move the network version of Tools > Network to the network admin. props wpdavis, fixes #15461.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 05:24:13 +00:00
scribu
4d75041199 Don't display Updates submenu in site admin. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:49:18 +00:00
ryan
59f55bea72 user-new.php revamp. Separate caps for adding users vs. creating users. Allow supes to add via email or username. Split adding existing users and creating new users into separate forms. see #15357
git-svn-id: http://svn.automattic.com/wordpress/trunk@16294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 14:29:15 +00:00
ryan
c1d8299f92 Route submenus added to old super admin menu to tools menu for now. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 19:23:42 +00:00
nacin
dc07485821 Set $tax as the taxonomy object, and kill off our colliding global from menu construction. see #15326.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 03:28:09 +00:00
nacin
91d3b6bea9 Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 02:09:00 +00:00
nacin
a86e48c322 Don't show plugin update counts on the non network admin menu. props PeteMall, see #14435.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 08:38:02 +00:00
nacin
ea039810f6 Encode the amp in the edit-tags menu link for pages. props blepoxp, see #14489 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-21 12:42:48 +00:00
nacin
c840f4676e Introduce show_in_menu for register_post_type. Allows post types to be a submenu. Accepts boolean and also a parent base. With help from duck_. fixes #14145.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:58:02 +00:00
ryan
7119110439 Unset global variables when they are no longer needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 20:12:49 +00:00
ryan
9c31fd7c70 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
ryan
dadb673d2f Fix page taxonomy query string. Props t31os_. fixes #14591
git-svn-id: http://svn.automattic.com/wordpress/trunk@15556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:36:04 +00:00
scribu
020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
ryan
21e3f0f7fa Network Admin, first pass. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-30 20:34:54 +00:00
nacin
a8af962f88 Fix admin memu link for tax assigned to pages. props SeyelentEco, fixes #13560 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-14 04:53:45 +00:00
nacin
93a08d4d6f Increment first, to avoid ++ later on when it conflicts with [25].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 04:21:33 +00:00
nacin
e13e6254dc Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:57:30 +00:00
ryan
3dae667671 Show taxonomies registered against the page type in the Pages submenus. Props markauk. fixes #13560
git-svn-id: http://svn.automattic.com/wordpress/trunk@14953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 19:03:46 +00:00
nacin
0080974df2 Use object names instead of 'Edit' in submenus. props jane, fixes #11274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 21:09:55 +00:00
nacin
f15cdc78cf 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: http://svn.automattic.com/wordpress/trunk@14831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-24 09:23:56 +00:00
ryan
f0076eed1c 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: http://svn.automattic.com/wordpress/trunk@14713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-17 16:39:36 +00:00
nacin
9af8453160 Make sure custom post types have unique IDs in the admin menu. props validBen, fixes #12445.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-15 05:38:40 +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
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
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
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