WordPress/wp-admin/includes
Gary Pendergast 65f7cdbce0 Site Health: Improve the "Copy to clipboard" button.
The previous method for copying the debug report to the clipboard involved having a hidden `<textarea>`, but this shows up in screen readers and can't be reliably hidden.

To work around this, the button now uses the `clipboard.js` library, which automatically handles browser differences in the Clipboard API, and can load the text to copy from a `data-` attribute on the button.

Props pento, hedgefield, afercia.
Fixes #46647.


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


git-svn-id: http://core.svn.wordpress.org/trunk@44853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-27 22:31:52 +00:00
..
admin-filters.php Bootstrap/Load: Introduce a recovery mode for fixing fatal errors. 2019-03-21 21:53:51 +00:00
admin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ajax-actions.php Taxonomy: Initialize `$noparents` variable in `wp_ajax_add_tag()` to avoid a notice with `compact()` in PHP 7.3. 2019-03-27 15:33:52 +00:00
bookmark.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-automatic-upgrader-skin.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-bulk-plugin-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-bulk-theme-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-bulk-upgrader-skin.php I18N: Use the actual placeholder instead of a number in translator comments if the corresponding string does not use numbered placeholders. 2018-03-11 16:44:34 +00:00
class-core-upgrader.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-file-upload-upgrader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-ftp-pure.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-ftp-sockets.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-ftp.php Docs: Correct grammar in PemFTP description. 2019-03-17 01:20:49 +00:00
class-language-pack-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-language-pack-upgrader.php I18N: Enable `clear_destination` in upgrader for updating/installing language packs. 2019-01-21 21:13:48 +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 I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-plugin-upgrader-skin.php Docs: Document many more parameters and properties using typed array notation. 2018-03-22 20:27:32 +00:00
class-plugin-upgrader.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-theme-installer-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-theme-upgrader-skin.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-theme-upgrader.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-walker-category-checklist.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu-checklist.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-walker-nav-menu-edit.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-wp-ajax-upgrader-skin.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-automatic-updater.php I18n: Improve translators comments [3]. 2018-08-30 13:36:25 +00:00
class-wp-comments-list-table.php Accessibility: Comments: Improve links and buttons semantics and interaction. 2019-02-20 23:37:50 +00:00
class-wp-community-events.php Docs: Update `@since` versions in Community Events class added in [42726]. 2018-06-28 02:34:04 +00:00
class-wp-debug-data.php Site Health: Improve the "Copy to clipboard" button. 2019-03-27 22:31:52 +00:00
class-wp-filesystem-base.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-direct.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpext.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpsockets.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ssh2.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-importer.php Import: Avoid counting an uncountable type when reading arguments passed to a script. 2018-03-02 17:17:31 +00:00
class-wp-internal-pointers.php Privacy: Remove privacy feature related admin pointers. 2019-03-04 20:47:50 +00:00
class-wp-links-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-list-table-compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
class-wp-media-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-sites-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-themes-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-ms-users-list-table.php Networks and Sites: Introduce the `ms_user_list_site_class` filter. 2019-03-21 23:55:51 +00:00
class-wp-plugin-install-list-table.php Plugins: Disable "Update Now" button for plugins that require a higher version of PHP or WordPress. 2019-03-27 22:11:53 +00:00
class-wp-plugins-list-table.php Plugins: Use correct singular for "Drop-in" in plugins list table. 2019-03-27 00:00:50 +00:00
class-wp-post-comments-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-posts-list-table.php Accessibility: Remove post format filter links from format icons in the Posts list table. 2019-03-21 15:32:01 +00:00
class-wp-screen.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
class-wp-site-health-auto-updates.php Admin: Introduce the Site Health screens. 2019-03-23 03:55:53 +00:00
class-wp-site-health.php Admin: Introduce the Site Health screens. 2019-03-23 03:55:53 +00:00
class-wp-site-icon.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
class-wp-terms-list-table.php Taxonomy: Add `level-n` classes to rows on edit-tags.php. 2019-03-07 03:04:50 +00:00
class-wp-theme-install-list-table.php Bundled Themes: Make twentynineteen the default theme. 2018-12-14 02:49:38 +00:00
class-wp-themes-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-upgrader-skin.php Upgrade/Install: Add missing opening curly bracket after [44513]. 2019-03-21 18:03:51 +00:00
class-wp-upgrader-skins.php Load: Re-add `class-wp-upgrader-skins.php`. 2016-12-03 03:40:41 +00:00
class-wp-upgrader.php Upgrade/Install: Add experimental package signing to some updates. 2019-03-21 05:49:50 +00:00
class-wp-users-list-table.php Coding Standards: Upgrade WPCS to 1.2.1. 2019-01-12 06:41:52 +00:00
comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2018-07-18 11:21:25 +00:00
credits.php Code is Poetry. 2017-11-30 23:11:00 +00:00
dashboard.php Accessibility: Improve the Comments and Privacy count text. 2019-03-18 15:22:53 +00:00
deprecated.php REST API: Restore use of `wp_ajax_ajax_tag_search()` for tag search. 2019-01-10 02:37:51 +00:00
edit-tag-messages.php Code is Poetry. 2017-11-30 23:11:00 +00:00
export.php Coding Standards: Fix the `Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace` violations. 2019-01-11 06:40:50 +00:00
file.php Privacy: Introduce Privacy Policy page helpers: 2019-03-21 19:48:50 +00:00
image-edit.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
image.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
import.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
list-table.php Docs: Update and correct various inline documentation. 2018-05-07 17:20:22 +00:00
media.php Replace usages of basename() with wp_basename() in order to support multibyte filenames 2019-03-01 20:58:52 +00:00
menu.php Code is Poetry. 2017-11-30 23:11:00 +00:00
meta-boxes.php Accessibility: Comments: Improve links and buttons semantics and interaction. 2019-02-20 23:37:50 +00:00
misc.php Privacy: Update default privacy policy text to match the current behavior of setting a temporary cookie on visiting the login page. 2019-03-23 10:54:53 +00:00
ms-admin-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-deprecated.php Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions: 2017-06-22 17:48:45 +00:00
ms.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
nav-menu.php Menus: Fix a deprecated call to `get_terms()`. 2019-01-21 23:38:52 +00:00
network.php Docs: Improve the `@return` description of `network_domain_check()`. 2019-01-08 05:27:50 +00:00
noop.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options.php Accessibility: General Settings: Update custom date/time format previews while typing. 2019-02-20 22:56:50 +00:00
plugin-install.php Plugins: Block plugin updates if required PHP version is not supported. 2019-03-20 01:44:51 +00:00
plugin.php Plugins: Remove `wp_is_wp_compatible()` and `wp_is_php_compatible()` functions added in [44978] for now, to discuss use cases and better naming. 2019-03-22 13:00:52 +00:00
post.php Posts, Post Types: Add type parameter to `post_exists()`. 2019-03-21 12:44:54 +00:00
revision.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
schema.php I18N: Move the strings for default user roles to `wp-includes/capabilities.php`, to make the translations available on the front end as well. 2019-03-21 22:23:52 +00:00
screen.php Code is Poetry. 2017-11-30 23:11:00 +00:00
taxonomy.php Docs: Correct and improve various inline documentation. 2018-03-25 19:35:29 +00:00
template.php Date/Time: Reduce explicit local `current_time( 'timestamp' )` usage in favor of native PHP functions. 2019-03-07 09:12:51 +00:00
theme-install.php Docs: Add missing periods to a grab-bag of docblocks. 2019-01-18 01:03:50 +00:00
theme.php Customize: Add a link to theme reviews in the theme details modal in the Customizer and on Add Themes screen. 2019-03-21 22:02:51 +00:00
translation-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
update-core.php Upgrades: Update `$_old_files` for WordPress 5.1. 2019-02-21 04:35:50 +00:00
update.php Plugins: Use `<em>` instead of `<span>` for PHP annotation in `wp_plugin_update_row()`, for consistency with other instances. 2019-03-22 01:08:51 +00:00
upgrade.php Database: Use `wp_die()` instead of `die()` in `wp_check_mysql_version()`, for more flexibility and consistency with other error messages in core. 2019-03-27 14:03:51 +00:00
user.php Privacy: Add missing header text for screen readers to privacy list tables. 2019-03-08 15:25:51 +00:00
widgets.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00