Docs: Correct `@access` entries and duplicate hook references in `WP_Customize_Selective_Refresh`.

Props keesiemeijer.
Fixes #39501.
Built from https://develop.svn.wordpress.org/trunk@39734


git-svn-id: http://core.svn.wordpress.org/trunk@39674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-01-06 22:09:13 +00:00
parent f6cd778c84
commit ff749bc66c
2 changed files with 6 additions and 6 deletions

View File

@ -43,7 +43,7 @@ final class WP_Customize_Selective_Refresh {
* Log of errors triggered when partials are rendered. * Log of errors triggered when partials are rendered.
* *
* @since 4.5.0 * @since 4.5.0
* @access private * @access protected
* @var array * @var array
*/ */
protected $triggered_errors = array(); protected $triggered_errors = array();
@ -52,7 +52,7 @@ final class WP_Customize_Selective_Refresh {
* Keep track of the current partial being rendered. * Keep track of the current partial being rendered.
* *
* @since 4.5.0 * @since 4.5.0
* @access private * @access protected
* @var string * @var string
*/ */
protected $current_partial_id; protected $current_partial_id;
@ -100,10 +100,10 @@ final class WP_Customize_Selective_Refresh {
} else { } else {
$class = 'WP_Customize_Partial'; $class = 'WP_Customize_Partial';
/** This filter (will be) documented in wp-includes/class-wp-customize-manager.php */ /** This filter is documented in wp-includes/customize/class-wp-customize-selective-refresh.php */
$args = apply_filters( 'customize_dynamic_partial_args', $args, $id ); $args = apply_filters( 'customize_dynamic_partial_args', $args, $id );
/** This filter (will be) documented in wp-includes/class-wp-customize-manager.php */ /** This filter is documented in wp-includes/customize/class-wp-customize-selective-refresh.php */
$class = apply_filters( 'customize_dynamic_partial_class', $class, $id, $args ); $class = apply_filters( 'customize_dynamic_partial_class', $class, $id, $args );
$partial = new $class( $this, $id, $args ); $partial = new $class( $this, $id, $args );
@ -287,7 +287,7 @@ final class WP_Customize_Selective_Refresh {
* These errors will be relayed back to the client in the Ajax response. * These errors will be relayed back to the client in the Ajax response.
* *
* @since 4.5.0 * @since 4.5.0
* @access private * @access public
* *
* @param int $errno Error number. * @param int $errno Error number.
* @param string $errstr Error string. * @param string $errstr Error string.

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-alpha-39733'; $wp_version = '4.8-alpha-39734';
/** /**
* 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.