Skip to content

Commit 2d0cfdc

Browse files
committed
Fix references from settings to partials in phpdoc
1 parent 7ff401f commit 2d0cfdc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

php/class-wp-customize-selective-refresh.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,11 @@ public function add_dynamic_partials( $partial_ids ) {
369369
*
370370
* For a dynamic partial to be registered, this filter must be employed
371371
* to override the default false value with an array of args to pass to
372-
* the WP_Customize_Setting constructor.
372+
* the WP_Customize_Partial constructor.
373373
*
374374
* @since 4.5.0
375375
*
376-
* @param false|array $partial_args The arguments to the WP_Customize_Setting constructor.
376+
* @param false|array $partial_args The arguments to the WP_Customize_Partial constructor.
377377
* @param string $partial_id ID for dynamic partial, usually coming from `$_POST['customized']`.
378378
*/
379379
$partial_args = apply_filters( 'customize_dynamic_partial_args', $partial_args, $partial_id );
@@ -382,13 +382,13 @@ public function add_dynamic_partials( $partial_ids ) {
382382
}
383383

384384
/**
385-
* Allow non-statically created partials to be constructed with custom WP_Customize_Setting subclass.
385+
* Allow non-statically created partials to be constructed with custom WP_Customize_Partial subclass.
386386
*
387387
* @since 4.5.0
388388
*
389-
* @param string $partial_class WP_Customize_Setting or a subclass.
390-
* @param string $partial_id ID for dynamic partial, usually coming from `$_POST['customized']`.
391-
* @param array $partial_args WP_Customize_Setting or a subclass.
389+
* @param string $partial_class WP_Customize_Partial or a subclass.
390+
* @param string $partial_id ID for dynamic partial.
391+
* @param array $partial_args The arguments to the WP_Customize_Partial constructor.
392392
*/
393393
$partial_class = apply_filters( 'customize_dynamic_partial_class', $partial_class, $partial_id, $partial_args );
394394

@@ -459,7 +459,7 @@ public function handle_error( $errno, $errstr, $errfile = null, $errline = null
459459
}
460460

461461
/**
462-
* Handle Ajax request to return the settings partial value.
462+
* Handle Ajax request to return the rendered partials for the requested placements.
463463
*
464464
* @since 4.5.0
465465
* @access public

0 commit comments

Comments
 (0)