WordPress/wp-admin/includes
joedolson 9b6710c43c Media: Remove infinite scroll from media library and modal.
Replace infinitely autoloading behavior on scroll with a user-controlled load more button. Fix a long standing accessibility issue in the media library. Infinite scroll poses a wide range of problems for accessibility, usability, and performance.

This change modifies the library to load 40 items in the initial view, with a load more button to load the next 40 items and a button to move focus from the load more region to the first of the most recently added items.

The text for communicating the jump target was broadly discussed, agreeing that the text incorporated here would most concisely and clearly convey the purpose of the button, and any further detail is learnable from use.
 
Props afercia, adamsilverstein, joedolson, audrasjb, francina 
Fixes #50105. See #40330. 
Built from https://develop.svn.wordpress.org/trunk@50829


git-svn-id: http://core.svn.wordpress.org/trunk@50438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-07 23:19:03 +00:00
..
admin-filters.php Administration: Remove multiple viewport meta tags from mobile pages. 2020-07-09 23:29:08 +00:00
admin.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ajax-actions.php Media: Remove infinite scroll from media library and modal. 2021-05-07 23:19:03 +00:00
bookmark.php Docs: Document the $linkdata parameter of wp_insert_link() using hash notation. 2020-11-03 03:52:10 +00:00
class-automatic-upgrader-skin.php Docs: Miscellaneous docblock updates. 2021-05-07 20:16:00 +00:00
class-bulk-plugin-upgrader-skin.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
class-bulk-theme-upgrader-skin.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
class-bulk-upgrader-skin.php Code Modernisation: Introduce the spread operator in wp-admin/includes/class-*-upgrader-skin.php. 2019-09-15 10:42:54 +00:00
class-core-upgrader.php Coding Standards: Use strict comparison in wp-admin/includes/class-core-upgrader.php. 2021-04-04 16:49:09 +00:00
class-custom-background.php Coding Standards: Use strict comparison in wp-admin/includes/class-custom-background.php. 2021-04-13 18:01:04 +00:00
class-custom-image-header.php Coding Standards: Use strict comparison in wp-admin/includes/class-custom-image-header.php. 2021-04-13 19:05:04 +00:00
class-file-upload-upgrader.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-ftp-pure.php Docs: Update URLs in some @link tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-ftp-sockets.php Docs: Update URLs in some @link tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-ftp.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:40:12 +00:00
class-language-pack-upgrader-skin.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
class-language-pack-upgrader.php Docs: Add missing @return tag to Language_Pack_Upgrader::check_package(). 2020-10-05 13:44:11 +00:00
class-pclzip.php Filesystem API: Make sure to only call fread() on non-empty files in the PclZip library. 2021-02-16 18:42:03 +00:00
class-plugin-installer-skin.php I18N: Add context to strings when updating a plugin or theme with a ZIP package. 2021-04-13 17:38:05 +00:00
class-plugin-upgrader-skin.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
class-plugin-upgrader.php Upgrade/Install: Remove a duplicate description for the upgrader_overwrote_package action. 2020-12-10 23:38:04 +00:00
class-theme-installer-skin.php I18N: Add context to strings when updating a plugin or theme with a ZIP package. 2021-04-13 17:38:05 +00:00
class-theme-upgrader-skin.php Text Changes: Unify various "Back to..." vs. "Return to..." vs. "Go to..." strings. 2020-11-09 10:53:10 +00:00
class-theme-upgrader.php Upgrade/Install: Remove a duplicate description for the upgrader_overwrote_package action. 2020-12-10 23:38:04 +00:00
class-walker-category-checklist.php Docs: Further corrections and promotions for docblocks relating to object types. 2020-10-18 20:53:08 +00:00
class-walker-nav-menu-checklist.php Docs: Corrections and improvements to types used in various docblocks. 2021-01-05 17:16:11 +00:00
class-walker-nav-menu-edit.php Coding Standards: Use strict comparison in wp-admin/includes/class-walker-nav-menu-edit.php. 2021-04-17 12:22:03 +00:00
class-wp-ajax-upgrader-skin.php Docs: Add missing descriptions for Automatic_Upgrader_Skin methods. 2020-11-14 16:23:10 +00:00
class-wp-application-passwords-list-table.php App Passwords: Ensure the Created At and Last Used dates are properly translated. 2020-12-03 21:06:08 +00:00
class-wp-automatic-updater.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-automatic-updater.php. 2021-04-16 12:01:15 +00:00
class-wp-comments-list-table.php Coding Standards: Fix a whitespace at end of line issue in wp-admin/includes/class-wp-comments-list-table.php. 2021-05-03 14:10:00 +00:00
class-wp-community-events.php Docs: In various @return tags, list the expected type first, instead of false or WP_Error. 2021-01-04 17:18:04 +00:00
class-wp-debug-data.php Site Health: Include more ImageMagick/Imagick information in the Media Handling section. 2021-05-05 19:21:59 +00:00
class-wp-filesystem-base.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-filesystem-direct.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-filesystem-ftpext.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-filesystem-ftpsockets.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-filesystem-ssh2.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-filesystem-*.php. 2021-04-05 10:38:07 +00:00
class-wp-importer.php Coding Standards: Remove unnecessary unset() calls in WP_Importer methods. 2021-04-08 11:12:08 +00:00
class-wp-internal-pointers.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-links-list-table.php Posts, Post Types: Introduce "Filter by date" and "Filter by category" as post type and taxonomy labels, respectively. 2021-02-01 14:13:00 +00:00
class-wp-list-table-compat.php Docs: Add missing descriptions for _WP_List_Table_Compat methods. 2020-11-14 16:54:08 +00:00
class-wp-list-table.php Docs: Improve spelling in [50516]. 2021-03-09 23:22:06 +00:00
class-wp-media-list-table.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-posts-list-table.php. 2021-05-03 13:57:04 +00:00
class-wp-ms-sites-list-table.php Docs: Further corrections and promotions for docblocks relating to object types. 2020-10-18 20:53:08 +00:00
class-wp-ms-themes-list-table.php Administration: Make sure auto-update counts properly update when bulk deleting plugins or themes. 2020-11-12 20:42:10 +00:00
class-wp-ms-users-list-table.php Docs: Fix and upgrade various object docblock notations. 2020-10-17 16:05:09 +00:00
class-wp-plugin-install-list-table.php General: Use correct escaping function for the plugin icon URL. 2021-05-04 13:38:58 +00:00
class-wp-plugins-list-table.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
class-wp-post-comments-list-table.php
class-wp-posts-list-table.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-posts-list-table.php. 2021-05-03 13:57:04 +00:00
class-wp-privacy-data-export-requests-list-table.php Coding Standards: Fix WPCS issues in [49258]. 2020-10-20 21:20:07 +00:00
class-wp-privacy-data-removal-requests-list-table.php Coding Standards: Fix WPCS issues in [49258]. 2020-10-20 21:20:07 +00:00
class-wp-privacy-policy-content.php Privacy: Print screen reader text for the "Copy suggested policy text..." action button. 2021-03-25 20:21:04 +00:00
class-wp-privacy-requests-table.php Privacy: Introduce manage_{$this->screen->id}_custom_column action in WP_Privacy_Requests_Table::column_default(). 2021-02-02 16:44:04 +00:00
class-wp-screen.php Plugins: Replace usage of $this in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:30:14 +00:00
class-wp-site-health-auto-updates.php Upgrade/Install: Allow WordPress sites to opt-in to development releases. 2021-01-30 10:34:02 +00:00
class-wp-site-health.php Site Health: Support custom sub-menus and pages. 2021-04-17 01:14:01 +00:00
class-wp-site-icon.php Media: Avoid suppressing errors when using getimagesize(). 2021-02-02 16:53:04 +00:00
class-wp-terms-list-table.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-terms-list-table.php. 2021-04-21 18:53:00 +00:00
class-wp-theme-install-list-table.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
class-wp-themes-list-table.php I18N: Add context to some theme strings for consistency. 2020-07-21 16:33:05 +00:00
class-wp-upgrader-skin.php Docs: Add missing @since tags for WP_Upgrader_Skin methods. 2020-11-21 12:08:05 +00:00
class-wp-upgrader-skins.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
class-wp-upgrader.php Coding Standards: Use strict comparison in wp-admin/includes/class-wp-upgrader.php. 2021-03-21 12:12:07 +00:00
class-wp-users-list-table.php Users: Coding standards fixes after [50228]. 2021-02-05 14:43:03 +00:00
comment.php Coding Standards: Use strict comparison in wp-admin/includes/comment.php. 2021-04-06 13:45:09 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2021-03-19 15:42:04 +00:00
credits.php Coding Standards: Use strict comparison in wp-admin/includes/credits.php. 2021-04-06 13:47:02 +00:00
dashboard.php Coding Standards: Use strict comparison in wp-admin/includes/dashboard.php. 2021-04-07 18:34:07 +00:00
deprecated.php Code Modernization: Correct expected data type for WP_User_Search::$page property. 2021-03-22 22:42:04 +00:00
edit-tag-messages.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin. 2019-07-01 12:52:01 +00:00
export.php Coding Standards: Simplify the check for parent terms in export_wp(). 2021-04-11 13:44:13 +00:00
file.php Coding Standards: Rewrite a fragment in request_filesystem_credentials() for clarity and to avoid repetition. 2021-04-12 18:34:05 +00:00
image-edit.php Images: enable WebP support. 2021-05-04 14:44:58 +00:00
image.php Media: Move retrieving WebP image size information into wp_getimagesize(). 2021-05-05 18:47:57 +00:00
import.php Docs: Corrections and improvements to types used in various docblocks. 2021-01-05 17:16:11 +00:00
list-table.php Docs: Promote many bool types to true or false where only that value is used. 2021-01-03 22:04:04 +00:00
media.php Images: enable WebP support. 2021-05-04 14:44:58 +00:00
menu.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +00:00
meta-boxes.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
misc.php Administration: Standardize colors used in CSS to a single palette. 2021-01-26 18:54:59 +00:00
ms-admin-filters.php Docs: Improve comments in some wp-admin files per the documentation standards. 2020-01-29 00:35:08 +00:00
ms-deprecated.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
ms.php Docs: Document the usage of $pagenow global in a few functions. 2021-02-22 19:18:12 +00:00
nav-menu.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
network.php Docs: Corrections and improvements to types used in various docblocks. 2021-01-05 17:16:11 +00:00
noop.php Code Modernization: Remove conditional use of PHP realpath(). 2019-09-20 20:46:56 +00:00
options.php External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
plugin-install.php Plugins: Escape the currently installed version number on Add Plugins screen. 2021-05-07 13:49:58 +00:00
plugin.php Plugins: When loading a plugin in a "sandbox" on activation, do it once. 2021-04-25 13:21:05 +00:00
post.php General: Use correct escaping function for form action attributes. 2021-05-04 13:47:58 +00:00
privacy-tools.php Privacy: Ensure "Export Personal Data" does not generate invalid JSON. 2021-04-14 21:28:08 +00:00
revision.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
schema.php Images: enable WebP support. 2021-05-04 14:44:58 +00:00
screen.php Docs: Various formatting improvements to inline docblocks. 2020-07-23 00:52:05 +00:00
taxonomy.php Docs: Promote many bool types to true or false where only that value is used. 2021-01-03 22:04:04 +00:00
template.php Coding Standards: Fix a precision alignment issue in wp-admin/includes/template.php. 2021-04-28 18:55:05 +00:00
theme-install.php Coding Standards: Add a space before / character in some self-closing HTML tags. 2021-03-20 18:30:08 +00:00
theme.php Docs: Use correct @since tag notation. 2021-05-07 18:26:02 +00:00
translation-install.php Docs: Promote many bool types to true or false where only that value is used. 2021-01-03 22:04:04 +00:00
update-core.php Coding Standards: Use strict comparison in wp-admin/includes/update-core.php. 2021-04-23 14:51:05 +00:00
update.php Upgrade/Install: Display correct message about the current version in the admin footer. 2021-02-01 14:29:01 +00:00
upgrade.php App Passwords: Store the "in use" option in the main network options. 2020-12-07 15:59:04 +00:00
user.php Docs: Promote many bool types to true or false where only that value is used. 2021-01-03 22:04:04 +00:00
widgets.php Accessibility: Widgets: Add a "Cancel" link when editing a widget in accessibility mode. 2020-10-09 15:53:08 +00:00