Make WordPress Core


Ignore:
Timestamp:
06/27/2015 01:02:12 AM (9 years ago)
Author:
wonderboymusic
Message:

For doc block types, favor bool over the few remaining booleans

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r32945 r32964  
    14831483 * @since 3.0.0
    14841484 *
    1485  * @param string $setting Optional slug title of a specific setting who's errors you want.
    1486  * @param boolean $sanitize Whether to re-sanitize the setting value before returning errors.
    1487  * @param boolean $hide_on_update If set to true errors will not be shown if the settings page has already been submitted.
     1485 * @param string $setting        Optional slug title of a specific setting who's errors you want.
     1486 * @param bool   $sanitize      Whether to re-sanitize the setting value before returning errors.
     1487 * @param bool  $hide_on_update If set to true errors will not be shown if the settings page has already been submitted.
    14881488 */
    14891489function settings_errors( $setting = '', $sanitize = false, $hide_on_update = false ) {
Note: See TracChangeset for help on using the changeset viewer.