WordPress/wp-admin
Sergey Biryukov 6d6b2663e3 Administration: Pass the result of set-screen-option filter to the new set_screen_option_{$option} filter to ensure backward compatibility.
Rename the `$keep` parameter of both filters to `$screen_option` for clarity, update the documentation to better reflect its purpose.

Follow-up to [47951].

Props Chouby, sswells, SergeyBiryukov.
Merges [48241] to the 5.4 branch.
Fixes #50392.
Built from https://develop.svn.wordpress.org/branches/5.4@48244


git-svn-id: http://core.svn.wordpress.org/branches/5.4@48013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-01 09:45:08 +00:00
..
css File Editor: Remove CSS exceptions for the "Select plugin/theme to edit" and documentation "Look Up" buttons. 2020-05-19 22:18:06 +00:00
images Customize: Move the WordPress logo with a white background to the wp-includes directory. 2020-05-21 09:13:09 +00:00
includes Administration: Pass the result of set-screen-option filter to the new set_screen_option_{$option} filter to ensure backward compatibility. 2020-07-01 09:45:08 +00:00
js Privacy: Prevent unexpected scrolling when clicking the "Copy this section to clipboard" button on Privacy Policy Guide screen. 2020-03-03 17:51:05 +00:00
maint Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
network Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
user Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
about.php WordPress 5.4.2. 2020-06-10 21:32:07 +00:00
admin-ajax.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
admin-footer.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
admin-functions.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
admin-header.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
admin-post.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
admin.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
async-upload.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
comment.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
credits.php Help/About: Improve accessibility of the 5.4 About page: 2020-03-27 23:48:10 +00:00
custom-background.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
custom-header.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
customize.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
edit-comments.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
edit-form-advanced.php Editor: Revert a fix for incorrect usage of ID attributes on custom fields. 2020-03-03 00:37:06 +00:00
edit-form-blocks.php Block Editor: Backport inclusion of new editor settings to the core. 2020-02-10 17:52:15 +00:00
edit-form-comment.php Editor: Revert a fix for incorrect usage of ID attributes on custom fields. 2020-03-03 00:37:06 +00:00
edit-link-form.php Editor: Revert a fix for incorrect usage of ID attributes on custom fields. 2020-03-03 00:37:06 +00:00
edit-tag-form.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
edit-tags.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
edit.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
erase-personal-data.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
export-personal-data.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
export.php Export: Use correct context for the Posts label on the Export screen. 2020-02-11 19:35:06 +00:00
freedoms.php Accessibility: Fix the headings hierarchy on the Freedoms page. 2020-04-10 02:56:06 +00:00
import.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
index.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
install-helper.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
install.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
link-add.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
link-manager.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
link-parse-opml.php Docs: Use more specific types in parameter descriptions in place of mixed. 2020-03-01 10:38:07 +00:00
link.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
load-scripts.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
load-styles.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
media-new.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
media-upload.php Coding Standards: Use Yoda conditions in some wp-admin files. 2020-02-09 16:53:06 +00:00
media.php Coding Standards: Use Yoda conditions in some wp-admin files. 2020-02-09 16:53:06 +00:00
menu-header.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
menu.php Privacy: Revert [47269] for now to address side effects on Multisite installations. 2020-02-11 21:48:06 +00:00
moderation.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
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 Coding Standards: Use Yoda conditions in some wp-admin files. 2020-02-09 16:53:06 +00:00
ms-edit.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ms-options.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ms-sites.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ms-themes.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ms-upgrade-network.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ms-users.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
my-sites.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
nav-menus.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
network.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
options-discussion.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
options-general.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
options-head.php Administration: Replace legacy updated message type in add_settings_error() calls with success. 2019-08-16 00:39:55 +00:00
options-media.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
options-permalink.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
options-privacy.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
options-reading.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
options-writing.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
options.php Coding Standards: Use Yoda conditions in some wp-admin files. 2020-02-09 16:53:06 +00:00
plugin-editor.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
plugin-install.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
plugins.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
post-new.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
post.php Coding Standards: Use Yoda conditions in some wp-admin files. 2020-02-09 16:53:06 +00:00
press-this.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
privacy-policy-guide.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
privacy.php Help/About: Improve accessibility of the 5.4 About page: 2020-03-27 23:48:10 +00:00
profile.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
revision.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
setup-config.php I18N: Use a consistent wording for "Unable to write to file" strings. 2020-02-22 18:33:08 +00:00
site-health-info.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
site-health.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
term.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
theme-editor.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
theme-install.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
themes.php Themes: Ensure a broken theme name is returned properly. 2020-06-10 17:49:06 +00:00
tools.php Privacy: Fix the URLs and legacy redirects for the personal data export and erasure screens. 2020-03-03 00:50:06 +00:00
update-core.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
update.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
upgrade-functions.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
upgrade.php Docs: Add descriptions for some globals: 2020-02-10 03:30:06 +00:00
upload.php Administration: Capitalize Trash consistently in various messages and comments. 2020-02-10 04:12:07 +00:00
user-edit.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
user-new.php Coding Standards: Use Yoda conditions in some wp-admin files. 2020-02-09 16:53:06 +00:00
users.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
widgets.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00