[wp-trac] [WordPress Trac] #29236: install_plugins_tabs cannot filter the "upload" tab anymore
WordPress Trac
noreply at wordpress.org
Wed Aug 27 01:31:08 UTC 2014
#29236: install_plugins_tabs cannot filter the "upload" tab anymore
--------------------------+---------------------
Reporter: juliobox | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.0
Component: Plugins | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"29634"]:
{{{
#!CommitTicketReference repository="" revision="29634"
Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility
with old filters.
Introduce upload_plugins and upload_themes capabilities to allow blocking
of plugin and theme uploads, versus the old hacky (and not secure) ways of
just hiding UI tabs. These are simply meta capabilities that map to
install_plugins and install_themes.
Also:
* Use the same nice design for the plugin upload screen as the theme
upload screen.
* Better compatibility for the old install_themes_tabs filter added in
[29002]. see #28578.
* Ensure using the install_plugins_tabs filter to remove the upload tab
removes the new button.
* Use 'Add Plugins' instead of 'Install Plugins' to match 'Add Themes'.
fixes #29236.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29236#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list