diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index d7d0835271..17a6fa5767 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -3674,6 +3674,8 @@ final class WP_Customize_Manager { * @since 3.4.0 * @since 4.5.0 Return added WP_Customize_Setting instance. * + * @link https://developer.wordpress.org/themes/customize-api + * * @param WP_Customize_Setting|string $id Customize Setting object, or ID. * @param array $args { * Optional. Array of properties for the new WP_Customize_Setting. Default empty array. @@ -3685,8 +3687,7 @@ final class WP_Customize_Manager { * @type string $transport Options for rendering the live preview of changes in Customizer. * Using 'refresh' makes the change visible by reloading the whole preview. * Using 'postMessage' allows a custom JavaScript to handle live changes. - * @link https://developer.wordpress.org/themes/customize-api - * Default is 'refresh' + * Default is 'refresh'. * @type callable $validate_callback Server-side validation callback for the setting's value. * @type callable $sanitize_callback Callback to filter a Customize setting value in un-slashed form. * @type callable $sanitize_js_callback Callback to convert a Customize PHP setting value to a value that is diff --git a/src/wp-includes/class-wp-customize-setting.php b/src/wp-includes/class-wp-customize-setting.php index 08d5b1c348..6bd00f7537 100644 --- a/src/wp-includes/class-wp-customize-setting.php +++ b/src/wp-includes/class-wp-customize-setting.php @@ -13,6 +13,7 @@ * Handles saving and sanitizing of settings. * * @since 3.4.0 + * @link https://developer.wordpress.org/themes/customize-api * * @see WP_Customize_Manager */ @@ -71,8 +72,6 @@ class WP_Customize_Setting { * Set this value to 'postMessage' to enable a custom JavaScript handler to render changes to this setting * as opposed to reloading the whole page. * - * @link https://developer.wordpress.org/themes/customize-api - * * @since 3.4.0 * @var string */