Mark Jaquith
4fab2aee5c
Use get_taxonomies() when iterating taxonomies for menus. props wojtek.szkutnik. fixes #13936
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16695 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:32:19 +00:00
Andrew Nacin
dc27759993
Move the network version of Tools > Network to the network admin. props wpdavis, fixes #15461 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16453 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 05:24:13 +00:00
scribu
8aaf2d5598
Don't display Updates submenu in site admin. See #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16374 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 18:49:18 +00:00
Ryan Boren
c8d7cc8664
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: https://develop.svn.wordpress.org/trunk@16294 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 14:29:15 +00:00
Ryan Boren
f28e46af02
Route submenus added to old super admin menu to tools menu for now. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16261 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 19:23:42 +00:00
Andrew Nacin
4125fe393b
Set $tax as the taxonomy object, and kill off our colliding global from menu construction. see #15326 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16253 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 03:28:09 +00:00
Andrew Nacin
c165557b3e
Introduce menu_name label for taxonomies and post types. Defaults to name. fixes #14832 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16251 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-09 02:09:00 +00:00
Andrew Nacin
524c263196
Don't show plugin update counts on the non network admin menu. props PeteMall, see #14435 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16040 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 08:38:02 +00:00
Andrew Nacin
c4d5a5e4a6
Encode the amp in the edit-tags menu link for pages. props blepoxp, see #14489 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15881 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-21 12:42:48 +00:00
Andrew Nacin
22ba9295bf
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: https://develop.svn.wordpress.org/trunk@15844 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:58:02 +00:00
Ryan Boren
1b7b0e1d7f
Unset global variables when they are no longer needed.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15747 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 20:12:49 +00:00
Ryan Boren
9ee8b20f30
First pass of user admin. Network admin and screen cleanups. see #14696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
Ryan Boren
6f7289bfa5
Fix page taxonomy query string. Props t31os_. fixes #14591
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15556 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-31 18:36:04 +00:00
scribu
fb9394167f
Ajaxify list-type screens in the admin. See #14579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Ryan Boren
edd48280e3
Network Admin, first pass. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15481 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 20:34:54 +00:00
Andrew Nacin
26e4490a6b
Fix admin memu link for tax assigned to pages. props SeyelentEco, fixes #13560 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15424 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-14 04:53:45 +00:00
Andrew Nacin
462d22c3e2
Increment first, to avoid ++ later on when it conflicts with [25].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15338 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 04:21:33 +00:00
Andrew Nacin
a53e7e3018
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: https://develop.svn.wordpress.org/trunk@15193 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:57:30 +00:00
Ryan Boren
96aac845a9
Show taxonomies registered against the page type in the Pages submenus. Props markauk. fixes #13560
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14953 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 19:03:46 +00:00
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
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
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
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
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
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
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
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
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
Ryan Boren
616f48e89d
Don't call get_plugins() in menu.php. It is too slow to call on every admin page load. fixes #13117
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14299 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 16:38:12 +00:00
Andrew Nacin
23cd92c6ff
Don't show plugin editor when there are no plugins. props solarissmoke, fixes #13117 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14290 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-29 05:34:24 +00:00
Joseph Scott
cae7b3b275
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: https://develop.svn.wordpress.org/trunk@14189 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-22 19:48:13 +00:00
Dion Hulse
70af67f01c
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: https://develop.svn.wordpress.org/trunk@14127 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 03:38:47 +00:00
Andrew Nacin
6be056c689
Allow create_users cap to be used independently of edit_users cap. fixes #12794 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14110 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 14:54:44 +00:00
Andrew Nacin
3cc1ff4546
Fix menu icons for custom post types. Fixes #12992 , props wmrom.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14100 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 03:29:34 +00:00
Andrew Nacin
a6c8b2c780
Bump tools.php from read cap to edit_posts. Old cap was for Gears. fixes #12903 , see #11301 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14097 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 22:16:22 +00:00
Dion Hulse
eda97585bb
Prevent $post_type_object->menu_position from conflicting with another plugin, or core menu item. Props blepoxp. Fixes #12951
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14049 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-10 10:48:30 +00:00
Mark Jaquith
697e807eb0
Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14014 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 04:32:08 +00:00
Dion Hulse
c161ae3d7d
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: https://develop.svn.wordpress.org/trunk@13841 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 06:40:59 +00:00
Dion Hulse
cf430f20d0
Do not display empty Appearance menu for subscribers. Need to use Menu API after the _admin_menu hook has fired.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13783 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 01:01:45 +00:00
Dion Hulse
17d50834af
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: https://develop.svn.wordpress.org/trunk@13745 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:50:43 +00:00
Ryan Boren
e61755c853
Trim trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Andrew Nacin
0e567e38f1
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: https://develop.svn.wordpress.org/trunk@13679 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 23:53:03 +00:00
Ryan Boren
a4ac7f25ee
Allow custom post types to have custom icons. Props ptahdunbar, Denis-de-Bernardy. fixes #12434
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13660 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:05:16 +00:00
Ron Rennick
c466a4bf82
Delete blog to Delete site, props markmcwilliams, see #12572 , code cleanup, see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13645 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 16:06:53 +00:00
Andrew Nacin
93f0c5ee6a
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: https://develop.svn.wordpress.org/trunk@13638 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 22:42:36 +00:00
Andrew Nacin
e71a0b3db3
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: https://develop.svn.wordpress.org/trunk@13634 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 19:10:07 +00:00
Dion Hulse
97d62bb8ce
GUU: Add Update breakdown to Title attribute of update bubble. See #12517
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13607 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 13:22:56 +00:00
Dion Hulse
d54c6651b9
Do not count Development versions of WordPress as having a core-update available. See #12517
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13603 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:42:04 +00:00
Dion Hulse
9ef767fe07
Add an update count bubble to the Updates menu. See #12517
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13593 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 12:45:24 +00:00
Dion Hulse
2343b09500
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: https://develop.svn.wordpress.org/trunk@13591 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 06:20:41 +00:00