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
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
admin-functions.php
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
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
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
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
freedoms.php
import.php
index.php
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
link-manager.php
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
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
ms-admin.php
ms-delete-site.php
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php
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
options-general.php Language packs: No WPLANG anymore. 2014-08-26 19:59:16 +00:00
options-head.php
options-media.php
options-permalink.php
options-reading.php
options-writing.php
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
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
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
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