mirror of
git://develop.git.wordpress.org/
synced 2025-04-04 20:23:27 +02:00
customize_validate_{$setting_id}
filter value to ensure it is a WP_Error
.
While the filter is documented to only support a `WP_Error`, it has been a common practice to return true in a validation function if no errors have occurred. This was already caught when the same filter was executed in `WP_Customize_Setting`, it was however missing in `WP_Customize_Manager::validate_setting_values()`. Props flixos90. Merges [43578] to the 5.0 branch. Fixes #44809. git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44392 602fd350-edb4-49c9-b593-d223f7449a82
…
…
…
Description
No description provided
Languages
PHP
81.6%
CSS
8.8%
JavaScript
8.1%
SCSS
0.8%
HTML
0.7%