wordpress-develop/tests/phpunit/tests/admin
Joe Dolson c60cfe92b4 Administration: Add function to standardize admin notices.
Add functions `wp_get_admin_notice()` and `wp_admin_notice()` to create and output admin notices & tests for usage. New functions accept a message and array of optional arguments. This commit does not implement the functions. Include new filters: `wp_admin_notice_args`, `wp_admin_notice_markup` and action: `wp_admin_notice`. 

Props joedolson, costdev, sakibmd, dasnitesh780, sabernhardt.
Fixes #57791.

git-svn-id: https://develop.svn.wordpress.org/trunk@56408 602fd350-edb4-49c9-b593-d223f7449a82
2023-08-17 20:27:35 +00:00
..
includesComment.php Tests: Add missing @covers tags for Tests_Admin_IncludesComment. 2021-09-01 21:58:32 +00:00
includesFile.php HTTP API: Fix request header inconsistencies. 2023-02-03 13:33:18 +00:00
includesMisc.php Build/Test Tools: Add missing @covers and visibility for Tests_Admin_includesMisc. 2021-11-02 22:07:49 +00:00
includesPlugin.php I18N: Introduce WP_Textdomain_Registry to store text domains and their language directory paths. 2022-08-11 12:37:05 +00:00
includesPost.php Quick/Bulk Edit: Ensure scheduled posts are published when using Bulk Edit. 2023-07-02 08:02:45 +00:00
includesSchema.php Date/Time: Correct sanitization of localized default timezone_string in populate_options(). 2022-09-20 00:41:58 +00:00
includesScreen.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
includesTemplate.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
includesTheme.php Tests: Use the factory method instead of the property. 2022-09-06 22:09:49 +00:00
includesUser.php Application Passwords: Allow plain HTTP success and reject URLs when using a local environment type. 2023-02-07 17:43:55 +00:00
wpAdminNotice.php Administration: Add function to standardize admin notices. 2023-08-17 20:27:35 +00:00
wpAutomaticUpdater.php Upgrade/Install: Initialize the local $checkout variable in WP_Automatic_Updater::is_vcs_checkout(). 2023-07-02 10:33:18 +00:00
wpCommentsListTable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00
wpCommunityEvents.php Tests: Merge file-level and class-level DocBlocks in various unit test files. 2023-02-14 16:10:13 +00:00
wpGetAdminNotice.php Administration: Add function to standardize admin notices. 2023-08-17 20:27:35 +00:00
wpListTable.php Code Modernization: Use "declare" in WP_List_Table magic methods deprecation message 2023-08-03 19:50:20 +00:00
wpMediaListTable.php General: Increase the minimum supported version of PHP to 7.0.0. 2023-07-05 17:39:55 +00:00
wpPluginInstallListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00
wpPluginsListTable.php Coding Standards: Fix a PHPCS issue found in wpPluginsListTable.php. 2023-06-27 16:09:19 +00:00
wpPostCommentsListTable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2022-11-29 12:32:37 +00:00
wpPostsListTable.php Tests: Remove expectation of a deprecation notice from WP_Posts_List_Table tests. 2023-05-14 18:43:46 +00:00
wpPrivacyRequestsTable.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
wpSiteHealth.php General: Use static on closures whenever $this is not used to avoid memory leaks. 2023-05-17 22:44:21 +00:00
wpThemeInstallListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00
wpUsersListTable.php Administration: Add new get_views_links method to WP_List_Table. 2022-09-19 21:06:08 +00:00