WordPress/wp-admin
Andrew Nacin ac3dd27737 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.

Built from https://develop.svn.wordpress.org/trunk@29634


git-svn-id: http://core.svn.wordpress.org/trunk@29408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 01:32:18 +00:00
..
css Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
images Convert the post lock icon to a dashicon. 2014-03-04 06:53:14 +00:00
includes Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
js Editor scrolling: reduce the amount of height jumping on load. 2014-08-26 18:39:17 +00:00
maint Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674. Props stompweb 2014-06-29 14:10:15 +00:00
network Language packs: No WPLANG anymore. 2014-08-26 19:59:16 +00:00
user Add missing Dashicons classes to User Admin menu. 2014-05-06 07:58:15 +00:00
about.php The About page has a `<div>` that doesn't close. Also, `<hr>`s should self-close. `hackificator` complains about these things. 2014-05-18 20:33:15 +00:00
admin-ajax.php Add a new AJAX action: `parse-media-shortcode`. This async call will replace JS rendering of audio/video/playlist shortcodes. 2014-07-15 22:08:14 +00:00
admin-footer.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
admin-functions.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
admin-header.php Customizer: Add meta capability `customize` which is mapped to `edit_theme_options`. 2014-07-14 19:01:16 +00:00
admin-post.php Because the `WP_ADMIN` constant name can be bound in multiple files, all instances should check `! defined` first. `wp-admin/admin.php` already has this check. 2014-05-18 20:42:16 +00:00
admin.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
async-upload.php Media Upload: Improve styling of error messages. 2014-08-02 14:14:19 +00:00
comment.php `hackificator` bails on this file because of mixed quote styles on some HTML attributes. 2014-05-18 21:47:14 +00:00
credits.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
custom-background.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
custom-header.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
customize.php Customizer panels: use a single back button for all panels. 2014-08-25 23:05:15 +00:00
edit-comments.php Comments: Update border color and help text. 2014-03-27 05:08:14 +00:00
edit-form-advanced.php Editor scrolling: reduce the amount of height jumping on load. 2014-08-26 18:39:17 +00:00
edit-form-comment.php `hackificator` doesn't like mixed quote styles in some generated HTML. The switch from single to double allows these files to be parsed. 2014-05-19 01:59:15 +00:00
edit-link-form.php In `edit-link-form.php`, `hackificator` bails because there is a `</form>` with no open `<form>`. It exists, but is needlessly constructed with PHP. It always returns a `<form>`, only the `id` and `name` are different. The dynamic piece just returns the ID now. 2014-05-18 22:07:15 +00:00
edit-tag-form.php Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712. 2014-01-24 19:06:15 +00:00
edit-tags.php Remove unreachable `break` statements in `wp-admin/edit-tags.php`. `break` is unnecessary after `die`, `exit`, and `wp_die`. 2014-05-06 14:52:16 +00:00
edit.php `edit.php?post_type=attachment` should redirect to `upload.php`. Without the redirect, the user is presented with an empty list table. There are probably other issues to address overall, but this accomplishes what the ticket wants. 2014-06-10 18:48:15 +00:00
export.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
freedoms.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
import.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
index.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
install-helper.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
install.php Language packs: No WPLANG anymore. 2014-08-26 19:59:16 +00:00
link-add.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
link-manager.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
link-parse-opml.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
link.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
load-scripts.php Inline docs syntax fixes following [28978]. 2014-07-07 16:42:16 +00:00
load-styles.php Simplify the setup-config.php UI flow and load process. 2014-07-03 19:57:14 +00:00
media-new.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
media-upload.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
media.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
menu-header.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
menu.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
moderation.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-admin.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-delete-site.php Always decode special characters for email subjects. 2014-03-28 02:44:15 +00:00
ms-edit.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-options.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-sites.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-themes.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-upgrade-network.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-users.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
my-sites.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
nav-menus.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
network.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
options-discussion.php Priority fixes for various existing hook documentation. 2014-04-12 00:01:15 +00:00
options-general.php Language packs: No WPLANG anymore. 2014-08-26 19:59:16 +00:00
options-head.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:14:09 +00:00
options-media.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
options-permalink.php Permalink Settings: Don't show "update your .htaccess now" if nothing needs to change. 2014-03-15 04:35:16 +00:00
options-reading.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
options-writing.php Priority fixes for various existing hook documentation. 2014-04-12 00:01:15 +00:00
options.php Language packs: No WPLANG anymore. 2014-08-26 19:59:16 +00:00
plugin-editor.php In `wp-admin/plugin-editor.php`, `break` is unreachabled after `exit`. 2014-05-06 18:12:14 +00:00
plugin-install.php Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
plugins.php Plugin activation/deletion errors should be styled as such. 2014-05-31 20:10:15 +00:00
post-new.php When adding a post of a post type whose menu item is in a submenu, highlight the correct menu item. props mordauk, markjaquith. fixes #24137. 2014-07-25 15:26:18 +00:00
post.php Autosave: prevent setting multiple stale `wp-saving-post-*` cookies when the browser disregards "session cookies" expiration on quit: 2014-08-22 00:25:16 +00:00
press-this.php PressThis: when the Text editor is the default, run the initial textarea content through pre_wpautop() to convert the paragraph tags. Fixes #29081. 2014-08-01 00:55:15 +00:00
profile.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
revision.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
setup-config.php Language packs: No WPLANG anymore. 2014-08-26 19:59:16 +00:00
theme-editor.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
theme-install.php Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
themes.php Make filter bar CSS less verbose and redundant. 2014-08-25 15:58:15 +00:00
tools.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
update-core.php Use correct form name for translation updates. 2014-08-16 10:00:18 +00:00
update.php Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
upgrade-functions.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
upgrade.php Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674. Props stompweb 2014-06-29 14:10:15 +00:00
upload.php Media library: Unify headers between view modes. 2014-08-26 15:58:15 +00:00
user-edit.php Implement email and url input types where appropriate. Props Kau-Boy. Fixes #22183. 2014-07-08 17:52:14 +00:00
user-new.php Reverse the order of roles in help text on Add New User screen to match [25695]. 2014-07-18 23:48:15 +00:00
users.php Add new action 'delete_user_form' in `wp-admin/users.php` and `wp-admin/network/users.php`. 2014-06-28 04:43:16 +00:00
widgets.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00