Go to file
Andrew Nacin 322991024f 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@29634 602fd350-edb4-49c9-b593-d223f7449a82
2014-08-27 01:31:05 +00:00
src Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:31:05 +00:00
tests Require a non-empty $nonce value in wp_verify_nonce(). 2014-08-26 07:38:51 +00:00
tools/i18n Fix strict notices in makepot. 2014-08-21 02:53:16 +00:00
.editorconfig Multiple strings in .editorconfig section names should be wrapped in curly brackets. 2014-06-24 10:54:41 +00:00
.gitignore Remove twenty* ignore-exclusion lines. Already tracked. 2014-02-26 20:59:25 +00:00
.jshintrc Remove smarttabs from .jshintrc per IRC discussion. see #25187. 2013-11-13 19:23:16 +00:00
.travis.yml Improve Travis CI configuration for better performance. 2014-06-21 20:05:19 +00:00
Gruntfile.js Gruntfile: Change import rules to include RTL stylesheets when running CSSJanus. 2014-07-21 02:50:45 +00:00
package.json Temporarily switch to a pinned version of grunt-cssjanus. This in turn temporarily pins cssjanus to a patched fork. 2014-08-15 16:30:21 +00:00
phpunit.xml.dist Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
wp-cli.yml Introduce default `wp-cli.yml` for core development. 2014-04-30 21:35:18 +00:00
wp-config-sample.php Language packs: No WPLANG anymore. 2014-08-26 19:58:33 +00:00
wp-tests-config-sample.php Update wp-tests-config-sample.php to run with WP_DEBUG by default. see #25282. 2013-09-23 16:17:59 +00:00