WordPress/wp-admin/includes
Dominik Schilling 1abd5f0be7 Plugins: Use `install_plugins_upload` action to print the upload form.
Since [37221] the upload form is added to every plugin install screen via `install_plugins_upload()`. Previously the form was added through the `install_plugins_upload` (alias of `install_plugins_$tab`) action which allowed plugin authors to replace the form. This restores the previous behaviour.

* Add the form only to non-upload plugin install screens.
* Replace `install_plugins_upload()` with the `install_plugins_upload` and `install_plugins_pre_upload` actions.
* Remove `$upload_tab_class` and add a CSS class for the current tab to `.wrap`
* Adjust CSS selectors and toggle the whole container to support upload without an `upload-plugin` class.

Props DavidAnderson, ocean90.
Fixes #37495.
Built from https://develop.svn.wordpress.org/trunk@38172


git-svn-id: http://core.svn.wordpress.org/trunk@38113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-07-31 18:11:29 +00:00
..
admin-filters.php Plugins: Use `install_plugins_upload` action to print the upload form. 2016-07-31 18:11:29 +00:00
admin.php Add grunt prerelease task 2016-03-10 05:37:27 +00:00
ajax-actions.php Plugins: Move capability checks further up in `wp_ajax_update_plugin()` and `wp_ajax_delete_plugin()`. 2016-07-27 17:44:41 +00:00
bookmark.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
class-automatic-upgrader-skin.php Filesystem API: Change the default value for the `$context` parameter of `get_filesystem_method()` and `request_filesystem_credentials()` to an empty string. 2016-07-22 12:10:27 +00:00
class-bulk-plugin-upgrader-skin.php Docs: Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 2016-07-09 13:45:33 +00:00
class-bulk-theme-upgrader-skin.php Docs: Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 2016-07-09 13:45:33 +00:00
class-bulk-upgrader-skin.php Docs: Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 2016-07-09 13:45:33 +00:00
class-core-upgrader.php Docs: Fix typo in a comment in `Core_Upgrader::upgrade()`. 2016-07-08 13:19:30 +00:00
class-file-upload-upgrader.php Upgrader: Add changelog entries for when the classes were moved to its own file. 2016-05-13 20:59:27 +00:00
class-ftp-pure.php Updates: FTP/PemFTP Library: Remove the usage of deprecated regular expression functions (ereg replaced by PCRE). 2015-09-18 08:20:27 +00:00
class-ftp-sockets.php Updates: FTP/PemFTP Library: Remove the usage of deprecated regular expression functions (ereg replaced by PCRE). 2015-09-18 08:20:27 +00:00
class-ftp.php Filesystem: Avoid PHP warnings when using the FTP Sockets class. 2015-12-15 03:12:26 +00:00
class-language-pack-upgrader-skin.php Docs: Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 2016-07-09 13:45:33 +00:00
class-language-pack-upgrader.php Upgrade: Trigger the `upgrader_process_complete` action for translation updates. 2016-06-11 17:44:28 +00:00
class-pclzip.php Filesystem API: Ensure memory limit calculations by PclZip are using integers. 2016-07-19 11:55:30 +00:00
class-plugin-installer-skin.php Docs: Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 2016-07-09 13:45:33 +00:00
class-plugin-upgrader-skin.php Docs: Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 2016-07-09 13:45:33 +00:00
class-plugin-upgrader.php Upgrader: Add changelog entries for when the classes were moved to its own file. 2016-05-13 20:59:27 +00:00
class-theme-installer-skin.php Docs: Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 2016-07-09 13:45:33 +00:00
class-theme-upgrader-skin.php Docs: Cross-reference parent classes in DocBlocks for upgrader classes moved to their own files in 4.6 2016-07-09 13:45:33 +00:00
class-theme-upgrader.php Upgrader: Add changelog entries for when the classes were moved to its own file. 2016-05-13 20:59:27 +00:00
class-walker-category-checklist.php Docs: Clarify the file header summary for wp-admin/includes/class-walker-category-checklist.php, introduced in [34241]. 2015-09-22 14:33:48 +00:00
class-walker-nav-menu-checklist.php Docs: `Walker_Nav_Menu_Checklist` and `Walker_Nav_Menu_Edit` are part of the Navigation Menu API, but intended for use in the scope of administration. 2015-10-15 17:26:24 +00:00
class-walker-nav-menu-edit.php Nav Menus: In `Walker_Nav_Menu_Edit::start_el()` initialize `$original_title` with `false`. 2016-07-04 20:16:28 +00:00
class-wp-automatic-upgrader.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-comments-list-table.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-filesystem-base.php Docs: Use 3-digit, x.x.x-style semantic versioning for `_doing_it_wrong()`, `_deprecated_function()`, `_deprecated_argument()`, and `_deprecated_file()` throughout core. 2016-07-06 12:40:29 +00:00
class-wp-filesystem-direct.php Add `@access` docs to `class-wp-filesystem-*` files. 2015-09-10 01:21:24 +00:00
class-wp-filesystem-ftpext.php Filesystem API: Cleanup temporary file when the temporary file couldn't be opened. 2016-07-18 19:43:30 +00:00
class-wp-filesystem-ftpsockets.php Filesystem API: Cleanup temporary file when the temporary file couldn't be opened. 2016-07-18 19:43:30 +00:00
class-wp-filesystem-ssh2.php Docs: Add missing return descriptions for `WP_Filesystem_SSH2::chown()` and `WP_Filesystem_SSH2::run_command()`. 2016-04-21 02:38:29 +00:00
class-wp-importer.php Docs: Add missing descriptions for the `$wpdb` global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
class-wp-internal-pointers.php Docs: Clarify the file header summary for wp-admin/includes/class-wp-internal-pointers.php, introduced in [34241]. 2015-09-22 14:35:25 +00:00
class-wp-links-list-table.php Taxonomy: Remove unnecessary 'All categories' string on Edit Posts and Edit Links screens and use taxonomy's `all_items` label instead. 2016-03-02 22:14:25 +00:00
class-wp-list-table.php List Table: Improve `WP_Plugins_List_Table::search_box()` which was added in [38033]. 2016-07-23 11:00:36 +00:00
class-wp-media-list-table.php Accessibility: Add `aria-button-if-js` class to links in the media list table that behave like buttons when JavaScript is on. 2016-07-10 19:31:31 +00:00
class-wp-ms-sites-list-table.php Multisite: Add a `ms_sites_list_table_query_args` filter to `WP_MS_Sites_List_Table`. 2016-06-28 22:26:30 +00:00
class-wp-ms-themes-list-table.php I18N: After [38057], consistently use a context for other instances of `Activate %s`, `Network Activate %s`, and `Delete %s` strings. 2016-07-16 23:20:29 +00:00
class-wp-ms-users-list-table.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-plugin-install-list-table.php Plugins: Improve Ajax search of new plugins. 2016-07-20 16:32:31 +00:00
class-wp-plugins-list-table.php Plugins: Add a missing space between classes on `<td>` element for custom columns of the Plugins list table. 2016-07-25 13:28:28 +00:00
class-wp-post-comments-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-posts-list-table.php Docs: Fix minor formatting and syntax for wp-admin/* elements introduced in 4.6. 2016-07-09 14:00:31 +00:00
class-wp-press-this.php Docs: Standardize capitalization of Ajax throughout core documentation per the core spelling guide. 2016-07-10 00:51:30 +00:00
class-wp-screen.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-site-icon.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-terms-list-table.php Text Changes: Add a full stop to "Invalid taxonomy" and "Invalid term ID" strings, for consistency with similar post-related messages. 2016-07-17 16:15:34 +00:00
class-wp-theme-install-list-table.php Docs: Fix typo in `WP_Theme_Install_List_Table` description. 2016-07-01 10:27:32 +00:00
class-wp-themes-list-table.php Docs: Standardize capitalization of Ajax throughout core documentation per the core spelling guide. 2016-07-10 00:51:30 +00:00
class-wp-upgrader-skin.php Filesystem API: Change the default value for the `$context` parameter of `get_filesystem_method()` and `request_filesystem_credentials()` to an empty string. 2016-07-22 12:10:27 +00:00
class-wp-upgrader-skins.php Upgrader: Update `wp-admin/includes/class-wp-upgrader-skins.php` to `require_once` the new files added in [37406]. 2016-05-10 11:42:26 +00:00
class-wp-upgrader.php I18N: Change unnecessary uppercased words in `WP_Upgrader::generic_strings()` to lower case. 2016-07-17 13:29:29 +00:00
class-wp-users-list-table.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
comment.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2016-05-24 23:24:27 +00:00
credits.php Docs: Miscellaneous docblock corrections. 2015-12-23 06:31:27 +00:00
dashboard.php Docs: Standardize capitalization of Ajax throughout core documentation per the core spelling guide. 2016-07-10 00:51:30 +00:00
deprecated.php Docs: Standardize references to "meta box" or "meta boxes" as two distinct words throughout core documentation per the core spelling guide. 2016-07-10 00:56:28 +00:00
edit-tag-messages.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
export.php Docs: Fix minor formatting and syntax for wp-admin/* elements introduced in 4.6. 2016-07-09 14:00:31 +00:00
file.php Filesystem API: Prevent an endless self-calling loop in `wp_tempnam()`. 2016-07-25 15:28:29 +00:00
image-edit.php Docs: Fix minor formatting issue for a comment added in [38113]. 2016-07-22 13:46:28 +00:00
image.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
import.php Import: Enhance accessibility on the Import screen. 2016-07-17 15:32:30 +00:00
list-table.php Docs: `@param` fixes for a variety of docblocks. 2016-01-09 01:45:26 +00:00
media.php Docs: Standardize references to "meta box" or "meta boxes" as two distinct words throughout core documentation per the core spelling guide. 2016-07-10 00:56:28 +00:00
menu.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
meta-boxes.php Docs: In meta box functions, clarify that "Meta box ID" refers to the `id` attribute of the meta box and not a numeric ID. 2016-07-21 19:24:28 +00:00
misc.php Docs: Fix minor formatting and syntax for wp-admin/* elements introduced in 4.6. 2016-07-09 14:00:31 +00:00
ms-admin-filters.php Users: Display the new user email notice in user admin too. 2016-02-07 13:54:25 +00:00
ms-deprecated.php Docs: Use 3-digit, x.x.x-style semantic versioning for `_doing_it_wrong()`, `_deprecated_function()`, `_deprecated_argument()`, and `_deprecated_file()` throughout core. 2016-07-06 12:40:29 +00:00
ms.php Docs: Fix minor formatting and syntax for wp-admin/* elements introduced in 4.6. 2016-07-09 14:00:31 +00:00
nav-menu.php Docs: Update the description of the `$box` argument of `wp_nav_menu_item_taxonomy_meta_box()` for consistency with [38129]. 2016-07-22 16:50:28 +00:00
network.php I18N: Make "That's all, stop editing! Happy blogging." translatable. 2016-06-28 23:24:27 +00:00
noop.php Create a new file, `wp-admin/includes/noop.php`, which loads all of the noop functions for `load-script|styles.php` and is only loaded by those files. DRYs in the process. 2015-09-11 05:04:23 +00:00
options.php Networks and sites: Replace "blog" usage with "site" in docs. 2016-01-28 03:35:27 +00:00
plugin-install.php Plugins: Improve Ajax search of new plugins. 2016-07-20 16:32:31 +00:00
plugin.php Filesystem API: Output buffering for `request_filesystem_credentials()` should wrap the function directly. 2016-07-27 17:11:56 +00:00
post.php Posts, Post Types: Remove a redundant `function_exists( 'mb_strlen' )` check in `get_sample_permalink_html()`. 2016-07-23 13:08:44 +00:00
revision.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
schema.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
screen.php Screen API: After [37972], ensure that `$box['args']` is an array before trying to access `__widget_basename`. 2016-07-07 16:39:29 +00:00
taxonomy.php Store only term IDs in object term relationships caches. 2016-05-26 04:50:27 +00:00
template.php Docs: Standardize capitalization of Ajax throughout core documentation per the core spelling guide. 2016-07-10 00:51:30 +00:00
theme-install.php Docs: Use 3-digit, x.x.x-style semantic versioning for `_doing_it_wrong()`, `_deprecated_function()`, `_deprecated_argument()`, and `_deprecated_file()` throughout core. 2016-07-06 12:40:29 +00:00
theme.php Filesystem API: Output buffering for `request_filesystem_credentials()` should wrap the function directly. 2016-07-27 17:11:56 +00:00
translation-install.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
update-core.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
update.php I18N: Remove non-translatable link attributes from translatable strings in `wp_plugin_update_row()`, `wp_theme_update_row()`, and `get_theme_update_available()`. 2016-07-17 21:03:31 +00:00
upgrade.php Permalinks: In `wp_install_maybe_enable_pretty_permalinks()`: 2016-07-19 23:12:32 +00:00
user.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for wp-admin/* files. 2016-05-23 17:28:27 +00:00
widgets.php Accessibility: bump headings one level up on the Appearance > Widgets screen for a better headings hierarchy. 2015-10-10 16:34:25 +00:00