Commit Graph

363 Commits

Author SHA1 Message Date
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
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
ryan
acd118c1be Don't call get_plugins() in menu.php. It is too slow to call on every admin page load. fixes #13117
git-svn-id: http://svn.automattic.com/wordpress/trunk@14299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 16:38:12 +00:00
nacin
4cd8df217b Don't show plugin editor when there are no plugins. props solarissmoke, fixes #13117.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-29 05:34:24 +00:00
josephscott
e26aed0ac4 New 'list_users' cap to provide more controls over listing users vs. editing
users.

Apply this new cap to the 'Authors & Users' menu item and 'Users' page in
wp-admin.

Bump db version to 14139 to pick up the new cap.

See #13074



git-svn-id: http://svn.automattic.com/wordpress/trunk@14189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 19:48:13 +00:00
dd32
abcbdf58b2 Escape/texturize Admin menu titles. Fixes page titles such as "Foo & Bar" not being entity encoded. Also includes some basic whitespace/standards cleanup to a related function. Fixes #12039
git-svn-id: http://svn.automattic.com/wordpress/trunk@14127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 03:38:47 +00:00
nacin
ea4934a962 Allow create_users cap to be used independently of edit_users cap. fixes #12794.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:54:44 +00:00
nacin
f9f8d61872 Fix menu icons for custom post types. Fixes #12992, props wmrom.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 03:29:34 +00:00
nacin
c6569e6a53 Bump tools.php from read cap to edit_posts. Old cap was for Gears. fixes #12903, see #11301.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-15 22:16:22 +00:00
dd32
3ad70c3e8c Prevent $post_type_object->menu_position from conflicting with another plugin, or core menu item. Props blepoxp. Fixes #12951
git-svn-id: http://svn.automattic.com/wordpress/trunk@14049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-10 10:48:30 +00:00
markjaquith
f1fd3f2780 Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
git-svn-id: http://svn.automattic.com/wordpress/trunk@14014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-06 04:32:08 +00:00
dd32
284a6cbc63 Use $ptype_obj->edit_type_cap instead of 'edit_posts' for custom post_type menu's & edit.php access. Allows for a user to have the capability to edit a post_type irrespective of their Posts access. Props rovo89. Fixes #12691
git-svn-id: http://svn.automattic.com/wordpress/trunk@13841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-27 06:40:59 +00:00
dd32
bc60e6967a Do not display empty Appearance menu for subscribers. Need to use Menu API after the _admin_menu hook has fired.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 01:01:45 +00:00
dd32
5a5064ae61 Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
git-svn-id: http://svn.automattic.com/wordpress/trunk@13745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 07:50:43 +00:00
ryan
e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
nacin
1cb0f9042b Don't allow access to network.php if running an MU network. It is only for networks created in 3.0. see #11816. Also, fix MS htaccess logic, see #12136
git-svn-id: http://svn.automattic.com/wordpress/trunk@13679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 23:53:03 +00:00
ryan
c8756014d2 Allow custom post types to have custom icons. Props ptahdunbar, Denis-de-Bernardy. fixes #12434
git-svn-id: http://svn.automattic.com/wordpress/trunk@13660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-11 17:05:16 +00:00
wpmuguru
0cbe9fd4c1 Delete blog to Delete site, props markmcwilliams, see #12572, code cleanup, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-10 16:06:53 +00:00
nacin
1586596d2f Expose a read-only network.php once multisite is enabled, to ensure access to original configuration such as rewrite rules. see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@13638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 22:42:36 +00:00
nacin
c42b0e50ea Rename WP_ENABLE_MULTISITE to WP_ALLOW_MULTISITE to minimize confusion. Prevent direct access to network.php without the constant unless the install process was already started. see #11816 for network.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-09 19:10:07 +00:00
dd32
28b2f32688 GUU: Add Update breakdown to Title attribute of update bubble. See #12517
git-svn-id: http://svn.automattic.com/wordpress/trunk@13607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 13:22:56 +00:00
dd32
f6fee10d90 Do not count Development versions of WordPress as having a core-update available. See #12517
git-svn-id: http://svn.automattic.com/wordpress/trunk@13603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-06 08:42:04 +00:00
dd32
a7fcc6f4de Add an update count bubble to the Updates menu. See #12517
git-svn-id: http://svn.automattic.com/wordpress/trunk@13593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 12:45:24 +00:00
dd32
ffa4103e99 Show the dashboard instead of Update Core page for the dashboard.. Adds a dummy menu in the case of multisite or superadmin. see #12517
git-svn-id: http://svn.automattic.com/wordpress/trunk@13591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-05 06:20:41 +00:00
wpmuguru
dec2715ca4 UI upgrade -> update, see #12517
git-svn-id: http://svn.automattic.com/wordpress/trunk@13590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 23:28:15 +00:00
ryan
274a3f69fb Display dash submenus correctly for all combinations of multisite and super admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 23:11:51 +00:00
dd32
13d204b3f9 Move Tools -> Upgrade to Dashboard -> Updates. As per dev meetup today. See #12517
git-svn-id: http://svn.automattic.com/wordpress/trunk@13588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 21:24:43 +00:00
ryan
6075fb30d2 Show the network enable menu only if config flag is set. Per wordpress-dev meetup. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 21:20:55 +00:00
ryan
cbc1ea27e8 Rename Network menu to Super Admin. Avoids the Network/Site confusion and makes it clear that these menus require and exercise super admin capabilities. Opportunity for a caped icon. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 18:53:32 +00:00
dd32
68741b4de7 Remove the now defunct Add New Themes menu item accidentally re-added in [13582]. See #12442
git-svn-id: http://svn.automattic.com/wordpress/trunk@13583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 12:25:38 +00:00
dd32
e193aec3b7 Move 'Add New Themes' and 'Editor' to the bottom of the Appearance menu item. See #12442
git-svn-id: http://svn.automattic.com/wordpress/trunk@13582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 12:23:21 +00:00
ryan
aa47e83dee Fix submenus for post types. Props TobiasBg. see #12453
git-svn-id: http://svn.automattic.com/wordpress/trunk@13579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-04 00:15:55 +00:00
ryan
42a15216ff Tab interface for Theme and Add New Theme. First pass. Props matveb, dremeda. see #12412
git-svn-id: http://svn.automattic.com/wordpress/trunk@13533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-01 15:27:42 +00:00
ryan
d5074db5ea Reorg nav menu files. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:06:36 +00:00
ryan
111e334aca Drop 'Custom' from menu names. Use 'Menus' instead of Navigation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:28:52 +00:00
wpmuguru
a5a9f32b73 multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803
git-svn-id: http://svn.automattic.com/wordpress/trunk@13301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:41:38 +00:00
wpmuguru
4d203a02c6 introduce custom menus, props jeffikus, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:57:43 +00:00
dd32
35cdac687c More Taxonomy cap checks. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:26:44 +00:00
dd32
39620db24d First pass at giving taxonomies a show_ui param. See #10773
git-svn-id: http://svn.automattic.com/wordpress/trunk@13216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:21:29 +00:00
dd32
14c0a033a5 Banish User_level 10 use from Network Menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:00:09 +00:00
wpmuguru
b21a238a87 Add rounded top corners to dashboard menu when there is no network menu, fixes #12151
git-svn-id: http://svn.automattic.com/wordpress/trunk@13003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 04:13:22 +00:00
ryan
9de60f3644 Add a separate show_ui flag for post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:27:30 +00:00
dd32
08e12373a5 Enable Plugin/Theme editor menu item for Super Admins. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 06:49:11 +00:00
ryan
7b81cdc30f Update real parent file back compat for pages menus. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 22:09:35 +00:00
ryan
7a77e674ac Move Network menu to the top. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:32:06 +00:00
wpmuguru
cfbffea85e minor fixes to populate_options(), UI tweaks, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 20:01:14 +00:00
dd32
94af70dea8 Revert [12908]. Update Users cap to use a capability. See #12098. Props nacin
git-svn-id: http://svn.automattic.com/wordpress/trunk@12916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 08:12:56 +00:00
dd32
6b5cba1de8 Hide Users -> Add New on MultiSite unless admin has enabled access to the page. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:39:34 +00:00
ryan
0f2060ef5d Move 'My Blogs' into its own file. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 23:21:01 +00:00
ryan
055f3db3a3 unset temp vars in menu.php so they don't pollute the global namespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:09:45 +00:00
ryan
943f69cb1f Unset menu_perms once we're done with it. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:55:51 +00:00
ryan
7991402038 Fix warning. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:54:45 +00:00
wpmuguru
6690680e9c Move network screen to the tools menu, See #12027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 23:07:49 +00:00
ryan
9fc2bef3d1 Move blog deletion to ms-delete-site.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:46:41 +00:00
dd32
34cc6ab57e Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 11:00:27 +00:00
ryan
94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
wpmuguru
3c70028227 add real parent file for wpmu-admin.php, fixes #11961
git-svn-id: http://svn.automattic.com/wordpress/trunk@12786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 16:03:29 +00:00
ryan
c679e65c9c Add email and login dupe checking down into wp_insert_user(). Tidy up user-new.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 21:58:13 +00:00
wpmuguru
fe7b362bd1 options network page, db variable change, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:18:52 +00:00
ryan
f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
westi
795ce48b83 Ensure that inaccessible parent menus are marked as such even if they have accessible children. See #11922.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-16 22:59:27 +00:00
ryan
6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
ryan
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
ryan
5316b4fc2d Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:14:27 +00:00
ryan
58d3776667 Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 19:27:44 +00:00
ryan
166435891c Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:49:55 +00:00
ryan
61d66570c8 Fix blogs menu item. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:43:54 +00:00
ryan
dbe9b17271 Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:17:13 +00:00
ryan
dafffcae58 Show theme installer only to super admins. Props Denis-de-Bernardy. see #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:48:46 +00:00
ryan
fc23a88df8 Move some multisite menu checks directly into menu.php. see #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:41:03 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
ryan
4cb414fc17 Restore 'Add New Themes' menu name. Props nacin. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 21:59:34 +00:00
ryan
c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
ryan
2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
markjaquith
6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
cc15ecfbff More hook back-compat. Props coffee2code. fixes #9438
git-svn-id: http://svn.automattic.com/wordpress/trunk@11113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 19:40:34 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
e236c9c085 Allow menu reordering via plugin
git-svn-id: http://svn.automattic.com/wordpress/trunk@11092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 05:09:50 +00:00
ryan
6d49900723 Hook name back-compat from Denis-de-Bernardy. fixes #9438
git-svn-id: http://svn.automattic.com/wordpress/trunk@11032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-21 19:49:56 +00:00
ryan
63fad3d055 Use unlocalized hook name. Props hakre. fixes #9438
git-svn-id: http://svn.automattic.com/wordpress/trunk@11017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 19:48:11 +00:00
azaozz
7160187ec2 Improved no-js styles
git-svn-id: http://svn.automattic.com/wordpress/trunk@10869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-04 17:07:31 +00:00
ryan
0bf194de3b Use _x() and extracted comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-02 19:20:19 +00:00
ryan
ebe3ed8d69 Add more places between menu groups in the top-level menu array. fixes #9047
git-svn-id: http://svn.automattic.com/wordpress/trunk@10568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-13 22:57:02 +00:00
azaozz
55a01dd456 Custom taxonomies: fix menu for large number of taxonomies
git-svn-id: http://svn.automattic.com/wordpress/trunk@10566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 22:05:32 +00:00
azaozz
affd966711 Custom taxonomies support: quick edit, delete, show in the menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@10557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-12 08:00:29 +00:00
ryan
7bb01e4c48 Rough first cut of theme browser/installer. Props DD32. see #8652
git-svn-id: http://svn.automattic.com/wordpress/trunk@10553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-11 23:10:11 +00:00
ryan
7aec230e33 Use transient for update_core, update_plugins, update_themes. see #9048
git-svn-id: http://svn.automattic.com/wordpress/trunk@10515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-06 18:06:20 +00:00
ryan
c5a66fc563 Show Tools menu for all users so they can access turbo. Props Denis-de-Bernardy. fixes #8921 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 18:55:52 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
westi
cb9dd57472 Ensure we never have two seperators together.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 22:47:26 +00:00
ryan
7bd34b2e43 add_utility_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-28 19:34:49 +00:00
ryan
7138d5af58 Create Tools screen. fixes #8361
git-svn-id: http://svn.automattic.com/wordpress/trunk@9929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 21:11:25 +00:00
ryan
5ef3815c15 Upgrade instead of Update
git-svn-id: http://svn.automattic.com/wordpress/trunk@9908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 19:20:03 +00:00
ryan
4958a075d1 Library instead of Edit
git-svn-id: http://svn.automattic.com/wordpress/trunk@9875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:07:57 +00:00
ryan
60fb050f9c Default to edit submenu rather than add new.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-25 19:05:48 +00:00
azaozz
bf6504f5a6 Use css class instead of id to prevent validation errors with multiple instances, fixes #8192
git-svn-id: http://svn.automattic.com/wordpress/trunk@9823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 22:57:51 +00:00
azaozz
a9d45e28cf Update comments count for Pending and Spam on edit-comments.php and the dashboard, fixes #8227
git-svn-id: http://svn.automattic.com/wordpress/trunk@9720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:57:53 +00:00
ryan
0a23990c2a Add new user page
git-svn-id: http://svn.automattic.com/wordpress/trunk@9614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-11 19:47:22 +00:00
ryan
b10351e5c6 Sort the menu before adding classes. see #7966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 19:20:38 +00:00
azaozz
6b99a452d1 Menu updates: single top level menus, B&W/color icons (sprite), fix for the Firefox bug of not firing mouseout on absolute positioned elements over textareas/text fields, scaling down properly for different user roles, includes patch by Ryan, fixes #7966
git-svn-id: http://svn.automattic.com/wordpress/trunk@9578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-09 14:54:39 +00:00
ryan
f597bae652 More core update to update-core.php. Allow re-installing current version (requires api.wp.org changes)
git-svn-id: http://svn.automattic.com/wordpress/trunk@9543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-06 03:31:41 +00:00
ryan
908fbae34c add_object_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-05 22:46:58 +00:00
ryan
cf1bff865a Fix warning
git-svn-id: http://svn.automattic.com/wordpress/trunk@9474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-02 20:42:43 +00:00
ryan
e55a05453a Better i18n support for automatic upgrade. Props nbachiyski. fixes #8023
git-svn-id: http://svn.automattic.com/wordpress/trunk@9441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 18:51:06 +00:00
ryan
36bc4c6820 Make plugins.php the first Plugins submenu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 23:32:04 +00:00
azaozz
076763cfff Admin menu styling
git-svn-id: http://svn.automattic.com/wordpress/trunk@9306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 22:19:19 +00:00
ryan
ae1cfca147 Bring back plugin updates count. Needs styling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 19:46:07 +00:00
ryan
3bcd105f0e Bring back awaiting moderation comment count. Needs styling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 19:39:08 +00:00
ryan
8b6d985d00 Remove Press This from Tools menu. Add to writing settings. Props technosailor. fixes #7393
git-svn-id: http://svn.automattic.com/wordpress/trunk@9201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 19:07:11 +00:00
ryan
fdef1212ef Descriptions for Add New from RanYanivHartstein. fixes #7900
git-svn-id: http://svn.automattic.com/wordpress/trunk@9198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 17:25:39 +00:00
azaozz
546ef3ed15 Admin menu: add generic icon, fix hover in IE, speed up response timing
git-svn-id: http://svn.automattic.com/wordpress/trunk@9182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-15 06:54:25 +00:00
ryan
79656f6382 Menu fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 22:44:56 +00:00
ryan
4e4c26678e Menu renaming
git-svn-id: http://svn.automattic.com/wordpress/trunk@9176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 19:37:04 +00:00
ryan
d68573a562 No more help menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 07:47:57 +00:00
azaozz
7a2fb7dcf5 Side folding for the menu, first run, still needs colours, styling and perhaps different icons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 05:10:16 +00:00
matt
7627c0db06 Move help links to top, kill menu item.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 02:28:35 +00:00
ryan
9ca5fd7287 Dashboard menu should be open by default
git-svn-id: http://svn.automattic.com/wordpress/trunk@9096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 22:32:12 +00:00
ryan
89d06a43b4 Bring back Overview submenu for Dashboard. Menus without submenus cause bustage with plugin top-levels
git-svn-id: http://svn.automattic.com/wordpress/trunk@9095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 21:13:14 +00:00
ryan
caffda84d4 Move Help menu to the end
git-svn-id: http://svn.automattic.com/wordpress/trunk@9094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 20:40:21 +00:00
ryan
d89b1ec551 Resurrect users menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 18:52:45 +00:00
ryan
b2079aad32 Menu updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@9047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-01 21:04:14 +00:00
ryan
8c59e2f8f9 Press this landing page
git-svn-id: http://svn.automattic.com/wordpress/trunk@9043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 22:23:59 +00:00
ryan
e62e09aba8 Landing page for turbo
git-svn-id: http://svn.automattic.com/wordpress/trunk@9042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 21:39:13 +00:00
ryan
4d9f0cd1cf Tools menu
git-svn-id: http://svn.automattic.com/wordpress/trunk@9040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 20:49:40 +00:00
ryan
ec4ce0db91 Add Pages->Drafts
git-svn-id: http://svn.automattic.com/wordpress/trunk@9038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-30 17:51:50 +00:00