wordpress-develop/tests/phpunit/tests/admin
Sergey Biryukov efb6e805da Administration: Avoid a PHP 7.4 notice in add_meta_box() when attempting to re-add a previously removed box.
The logic for skipping previously removed meta boxes with the `core` priority should also apply to the `sorted` priority that is used when the boxes were manually reordered.

Add a unit test.

Props coolmann, franzarmas, SergeyBiryukov.
Fixes #50019.

git-svn-id: https://develop.svn.wordpress.org/trunk@47777 602fd350-edb4-49c9-b593-d223f7449a82
2020-05-09 12:24:31 +00:00
..
includesComment.php Code is Poetry. 2017-11-30 23:09:33 +00:00
includesCommunityEvents.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
includesFile.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
includesListTable.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesMisc.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesPlugin.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesPost.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesSchema.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
includesScreen.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesTemplate.php Administration: Avoid a PHP 7.4 notice in add_meta_box() when attempting to re-add a previously removed box. 2020-05-09 12:24:31 +00:00
includesTheme.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
includesUpdateCore.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:31:22 +00:00
wpPrivacyRequestsTable.php Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6. 2019-09-20 22:01:36 +00:00