WordPress/wp-admin
joedolson fe1cb3ff0d Media: Restore AJAX response data shape in media library.
Restore the original shape of the AJAX response data in the media library after removing infinite scroll, and pass total number of attachments in the response headers `X-WP-Total` and `X-WP-TotalPages`. 

Improve backwards compatibility for plugins intercepting the ajax response. Headers match the structure and count calculation used in REST API responses.

Fix an issue with hiding the spinner after the load is completed and ensure that the load more view is created when changing tabs in the media library modal.

Follow up to [50829].

props adamsilverstein, spacedmonkey, joedolson.
Fixes #50105.
Built from https://develop.svn.wordpress.org/trunk@51145


git-svn-id: http://core.svn.wordpress.org/trunk@50754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-14 20:50:57 +00:00
..
css Administration: Introduce dashboard notice to discourage use of out of date browser. 2021-06-08 22:47:58 +00:00
images Help/About: WordPress 5.7 About Page. 2021-02-23 18:41:05 +00:00
includes Media: Restore AJAX response data shape in media library. 2021-06-14 20:50:57 +00:00
js Build/Test Tools: Update several devDependencies. 2021-06-08 17:15:15 +00:00
maint
network Code Modernization: Bring consistency to preparing some fields on Network Settings screen: 2021-04-20 14:49:08 +00:00
user
about.php Help/About: Run image comparison script after all assets have loaded. 2021-03-15 19:51:09 +00:00
admin-ajax.php Login and Registration: Improve the UX of the Reset Password screen. 2021-02-02 18:13:04 +00:00
admin-footer.php Coding Standards: Simplify a condition in wp-admin/admin-footer.php. 2021-06-01 11:30:57 +00:00
admin-functions.php
admin-header.php Adds the widgets block editor to widgets.php and customize.php 2021-05-25 08:40:25 +00:00
admin-post.php
admin.php
async-upload.php Media: Replace basename() usage on media upload screen with wp_basename() for better multibyte filenames support. 2021-05-26 14:24:57 +00:00
authorize-application.php App Passwords: Use "sites" terminology instead of "blogs" in application passwords help text. 2021-05-19 18:17:56 +00:00
comment.php
credits.php Help/About: Use absolute URLs for inline images on About pages. 2021-03-11 21:38:08 +00:00
custom-background.php
custom-header.php
customize.php I18N: Combine escaping and translation functions. 2021-05-19 18:10:59 +00:00
edit-comments.php Comments: Include a "View Post" link on the Comments screen for a single post. 2021-05-25 12:26:58 +00:00
edit-form-advanced.php Editor: Use a consistent way to retrieve post ID on Edit Post screens. 2021-04-09 11:31:09 +00:00
edit-form-blocks.php Editor: Ensure that the block editor can be used on the page post type. 2021-06-08 22:38:58 +00:00
edit-form-comment.php Comments: Escape comment author's email in the Edit Comment form. 2021-06-07 18:47:02 +00:00
edit-link-form.php Posts, Post Types: Update the styling of the legacy Links editing screen. 2021-02-16 18:50:03 +00:00
edit-tag-form.php Docs: Correct comment format in wp-admin/edit-tags.php, remove extra space. 2021-04-18 14:29:03 +00:00
edit-tags.php Docs: Correct comment format in wp-admin/edit-tags.php, remove extra space. 2021-04-18 14:29:03 +00:00
edit.php Posts, Post Types: Remove / from non-self-closing "clear" div tags. 2021-03-25 19:33:04 +00:00
erase-personal-data.php I18N: Remove extra spaces from translatable strings in Privacy help tabs. 2021-02-21 16:04:11 +00:00
export-personal-data.php I18N: Remove extra spaces from translatable strings in Privacy help tabs. 2021-02-21 16:04:11 +00:00
export.php External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
freedoms.php Help/About: Use absolute URLs for inline images on About pages. 2021-03-11 21:38:08 +00:00
import.php
index.php
install-helper.php
install.php Coding Standards: Move some translator comments to the correct place. 2021-03-21 13:13:03 +00:00
link-add.php
link-manager.php
link-parse-opml.php
link.php
load-scripts.php
load-styles.php Block Editor: Load the WP_Theme_JSON_Resolver class in wp-admin/load-styles.php. 2021-06-01 23:09:58 +00:00
media-new.php
media-upload.php Docs: Add examples of possible names for various hooks whose name contains a dynamic portion. 2021-03-07 12:32:09 +00:00
media.php
menu-header.php
menu.php Themes: Display the number of available theme updates in the admin menu. 2021-05-26 01:17:57 +00:00
moderation.php
ms-admin.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
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 General: Avoid unnecessary calls to update_user_option(). 2021-05-24 19:59:57 +00:00
nav-menus.php Coding Standards: Further update the code for bulk menu items deletion to better follow WordPress coding standards. 2021-05-25 19:14:57 +00:00
network.php
options-discussion.php
options-general.php
options-head.php
options-media.php Coding Standards: Use strict comparison in wp-admin/options-media.php. 2021-06-05 13:57:59 +00:00
options-permalink.php Permalinks: Add labels for permalink configuration fields. 2021-05-07 23:51:04 +00:00
options-privacy.php Coding Standards: Removing unnecessary parentheses from require_once in wp-admin/options-privacy.php. 2021-04-01 15:36:08 +00:00
options-reading.php Feeds: Rename "Summary" to "Excerpt" in Reading Settings. 2021-04-12 22:34:04 +00:00
options-writing.php
options.php Coding Standards: Add missing semicolon to some endif keywords. 2021-03-21 13:05:04 +00:00
plugin-editor.php Administration: Remove italic text to improve readability. 2021-01-27 21:03:57 +00:00
plugin-install.php
plugins.php
post-new.php
post.php Block Editor: Use a unique name for the nonce of the custom fields toggle form. 2021-02-08 21:39:16 +00:00
press-this.php
privacy-policy-guide.php Privacy: Redesign the Privacy settings pages. 2021-02-02 20:14:03 +00:00
privacy.php Help/About: Use absolute URLs for inline images on About pages. 2021-03-11 21:38:08 +00:00
profile.php
revision.php
setup-config.php Docs: Miscellaneous DocBlock corrections. 2021-05-15 17:38:05 +00:00
site-health-info.php Site Health: Support custom sub-menus and pages. 2021-04-17 01:14:01 +00:00
site-health.php Site Health: Remove Ajax requests from dashboard widget. 2021-04-17 11:29:02 +00:00
term.php
theme-editor.php Administration: Remove italic text to improve readability. 2021-01-27 21:03:57 +00:00
theme-install.php Themes: Remove the "Featured" tab on Add Themes screen. 2021-05-05 15:54:59 +00:00
themes.php Themes: Fix accessibility issues with controls in themes screen. 2021-06-07 23:10:57 +00:00
tools.php Privacy: Redesign the Privacy settings pages. 2021-02-02 20:14:03 +00:00
update-core.php Upgrade/Install: Display plugin and theme update counts on WordPress Updates screen. 2021-05-02 16:54:06 +00:00
update.php
upgrade-functions.php
upgrade.php Coding Standards: Move some translator comments to the correct place. 2021-03-21 13:13:03 +00:00
upload.php Media: Ensure that post_id variable is initiated ahead of usage. 2021-06-08 22:08:09 +00:00
user-edit.php Application Passwords: Allow enter key to submit profile form. 2021-06-07 23:49:58 +00:00
user-new.php
users.php Posts, Post Types: Remove / from non-self-closing "clear" div tags. 2021-03-25 19:33:04 +00:00
widgets-form-blocks.php Widgets: Add missing actions to widgets block editor 2021-06-02 01:57:57 +00:00
widgets-form.php Widgets: Add missing actions to widgets block editor 2021-06-02 01:57:57 +00:00
widgets.php Widgets: Add missing actions to widgets block editor 2021-06-02 01:57:57 +00:00