Wordpress/tests/phpunit/tests/option
Sergey Biryukov 7fbabd505d Administration: Adjust [45814] to address a backward compatibility issue for plugins passing multiple CSS classes to add_settings_error().
Only add the `notice-` prefix for `error`, `success`, `warning`, `info` CSS classes, keep other classes as is.

Add unit tests for `settings_errors()`.

Props afercia, SergeyBiryukov.
Fixes #44941.

git-svn-id: https://develop.svn.wordpress.org/trunk@45873 602fd350-edb4-49c9-b593-d223f7449a82
2019-08-22 00:21:49 +00:00
..
multisite.php Code is Poetry. 2017-11-30 23:09:33 +00:00
networkOption.php Options: Avoid unnecessary DB calls when updating network options. 2019-01-21 04:26:33 +00:00
option.php Code is Poetry. 2017-11-30 23:09:33 +00:00
registration.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
sanitize-option.php Administration: Adjust [45814] to address a backward compatibility issue for plugins passing multiple CSS classes to add_settings_error(). 2019-08-22 00:21:49 +00:00
siteOption.php Code is Poetry. 2017-11-30 23:09:33 +00:00
siteTransient.php Code is Poetry. 2017-11-30 23:09:33 +00:00
slashes.php Code is Poetry. 2017-11-30 23:09:33 +00:00
themeMods.php Add some theme mod unit tests. 2015-08-30 03:42:49 +00:00
transient.php Code is Poetry. 2017-11-30 23:09:33 +00:00
updateOption.php Code is Poetry. 2017-11-30 23:09:33 +00:00
userSettings.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpLoadAllOptions.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests. 2019-07-02 04:43:01 +00:00