mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
For doc block types, favor bool over the few remaining booleans
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1482,9 +1482,9 @@ function get_settings_errors( $setting = '', $sanitize = false ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param string $setting Optional slug title of a specific setting who's errors you want.
|
||||
* @param boolean $sanitize Whether to re-sanitize the setting value before returning errors.
|
||||
* @param boolean $hide_on_update If set to true errors will not be shown if the settings page has already been submitted.
|
||||
* @param string $setting Optional slug title of a specific setting who's errors you want.
|
||||
* @param bool $sanitize Whether to re-sanitize the setting value before returning errors.
|
||||
* @param bool $hide_on_update If set to true errors will not be shown if the settings page has already been submitted.
|
||||
*/
|
||||
function settings_errors( $setting = '', $sanitize = false, $hide_on_update = false ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user