Docs: Standardize filter docs in the Customizer classes to use third-person singular verbs per the inline documentation standards for PHP.

See #36913.

Built from https://develop.svn.wordpress.org/trunk@37491


git-svn-id: http://core.svn.wordpress.org/trunk@37459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-05-22 18:10:29 +00:00
parent f03eef071e
commit e2c18aaf64
8 changed files with 22 additions and 22 deletions

View File

@ -235,7 +235,7 @@ class WP_Customize_Control {
$active = call_user_func( $this->active_callback, $this ); $active = call_user_func( $this->active_callback, $this );
/** /**
* Filter response of WP_Customize_Control::active(). * Filters response of WP_Customize_Control::active().
* *
* @since 4.0.0 * @since 4.0.0
* *

View File

@ -242,7 +242,7 @@ final class WP_Customize_Manager {
require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-setting.php' ); require_once( ABSPATH . WPINC . '/customize/class-wp-customize-nav-menu-setting.php' );
/** /**
* Filter the core Customizer components to load. * Filters the core Customizer components to load.
* *
* This allows Core components to be excluded from being instantiated by * This allows Core components to be excluded from being instantiated by
* filtering them out of the array. Note that this filter generally runs * filtering them out of the array. Note that this filter generally runs
@ -970,7 +970,7 @@ final class WP_Customize_Manager {
} }
/** /**
* Filter the current theme and return the name of the previewed theme. * Filters the current theme and return the name of the previewed theme.
* *
* @since 3.4.0 * @since 3.4.0
* *
@ -1098,7 +1098,7 @@ final class WP_Customize_Manager {
do_action( 'customize_save_after', $this ); do_action( 'customize_save_after', $this );
/** /**
* Filter response data for a successful customize_save AJAX request. * Filters response data for a successful customize_save AJAX request.
* *
* This filter does not apply if there was a nonce or authentication failure. * This filter does not apply if there was a nonce or authentication failure.
* *
@ -1183,7 +1183,7 @@ final class WP_Customize_Manager {
$setting_class = 'WP_Customize_Setting'; $setting_class = 'WP_Customize_Setting';
/** /**
* Filter a dynamic setting's constructor args. * Filters a dynamic setting's constructor args.
* *
* For a dynamic setting to be registered, this filter must be employed * For a dynamic setting to be registered, this filter must be employed
* to override the default false value with an array of args to pass to * to override the default false value with an array of args to pass to
@ -1740,7 +1740,7 @@ final class WP_Customize_Manager {
); );
/** /**
* Filter nonces for Customizer. * Filters nonces for Customizer.
* *
* @since 4.2.0 * @since 4.2.0
* *
@ -1778,7 +1778,7 @@ final class WP_Customize_Manager {
} }
/** /**
* Filter the list of URLs allowed to be clicked and followed in the Customizer preview. * Filters the list of URLs allowed to be clicked and followed in the Customizer preview.
* *
* @since 3.4.0 * @since 3.4.0
* *
@ -1898,7 +1898,7 @@ final class WP_Customize_Manager {
); );
/** /**
* Filter the available devices to allow previewing in the Customizer. * Filters the available devices to allow previewing in the Customizer.
* *
* @since 4.5.0 * @since 4.5.0
* *

View File

@ -211,7 +211,7 @@ final class WP_Customize_Nav_Menus {
} }
/** /**
* Filter the available menu items. * Filters the available menu items.
* *
* @since 4.3.0 * @since 4.3.0
* *
@ -335,7 +335,7 @@ final class WP_Customize_Nav_Menus {
} }
/** /**
* Filter the available menu items during a search request. * Filters the available menu items during a search request.
* *
* @since 4.5.0 * @since 4.5.0
* *
@ -428,7 +428,7 @@ final class WP_Customize_Nav_Menus {
} }
/** /**
* Filter a dynamic setting's constructor args. * Filters a dynamic setting's constructor args.
* *
* For a dynamic setting to be registered, this filter must be employed * For a dynamic setting to be registered, this filter must be employed
* to override the default false value with an array of args to pass to * to override the default false value with an array of args to pass to
@ -676,7 +676,7 @@ final class WP_Customize_Nav_Menus {
} }
/** /**
* Filter the available menu item types. * Filters the available menu item types.
* *
* @since 4.3.0 * @since 4.3.0
* *
@ -831,7 +831,7 @@ final class WP_Customize_Nav_Menus {
public $preview_nav_menu_instance_args = array(); public $preview_nav_menu_instance_args = array();
/** /**
* Filter arguments for dynamic nav_menu selective refresh partials. * Filters arguments for dynamic nav_menu selective refresh partials.
* *
* @since 4.5.0 * @since 4.5.0
* @access public * @access public

View File

@ -179,7 +179,7 @@ class WP_Customize_Panel {
$active = call_user_func( $this->active_callback, $this ); $active = call_user_func( $this->active_callback, $this );
/** /**
* Filter response of WP_Customize_Panel::active(). * Filters response of WP_Customize_Panel::active().
* *
* @since 4.1.0 * @since 4.1.0
* *

View File

@ -188,7 +188,7 @@ class WP_Customize_Section {
$active = call_user_func( $this->active_callback, $this ); $active = call_user_func( $this->active_callback, $this );
/** /**
* Filter response of WP_Customize_Section::active(). * Filters response of WP_Customize_Section::active().
* *
* @since 4.1.0 * @since 4.1.0
* *

View File

@ -517,7 +517,7 @@ class WP_Customize_Setting {
public function sanitize( $value ) { public function sanitize( $value ) {
/** /**
* Filter a Customize setting value in un-slashed form. * Filters a Customize setting value in un-slashed form.
* *
* @since 3.4.0 * @since 3.4.0
* *
@ -693,7 +693,7 @@ class WP_Customize_Setting {
$value = $this->get_root_value( $this->default ); $value = $this->get_root_value( $this->default );
/** /**
* Filter a Customize setting value not handled as a theme_mod or option. * Filters a Customize setting value not handled as a theme_mod or option.
* *
* The dynamic portion of the hook name, `$this->id_date['base']`, refers to * The dynamic portion of the hook name, `$this->id_date['base']`, refers to
* the base slug of the setting name. * the base slug of the setting name.
@ -727,7 +727,7 @@ class WP_Customize_Setting {
public function js_value() { public function js_value() {
/** /**
* Filter a Customize setting value for use in JavaScript. * Filters a Customize setting value for use in JavaScript.
* *
* The dynamic portion of the hook name, `$this->id`, refers to the setting ID. * The dynamic portion of the hook name, `$this->id`, refers to the setting ID.
* *

View File

@ -455,7 +455,7 @@ final class WP_Customize_Widgets {
); );
/** /**
* Filter Customizer widget section arguments for a given sidebar. * Filters Customizer widget section arguments for a given sidebar.
* *
* @since 3.9.0 * @since 3.9.0
* *
@ -575,7 +575,7 @@ final class WP_Customize_Widgets {
$is_wide = ( $width > 250 && ! $is_core ); $is_wide = ( $width > 250 && ! $is_core );
/** /**
* Filter whether the given widget is considered "wide". * Filters whether the given widget is considered "wide".
* *
* @since 3.9.0 * @since 3.9.0
* *
@ -839,7 +839,7 @@ final class WP_Customize_Widgets {
$args = array_merge( $args, $overrides ); $args = array_merge( $args, $overrides );
/** /**
* Filter the common arguments supplied when constructing a Customizer setting. * Filters the common arguments supplied when constructing a Customizer setting.
* *
* @since 3.9.0 * @since 3.9.0
* *

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-alpha-37490'; $wp_version = '4.6-alpha-37491';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.