Docs: Move the `@link` tag for Customize API in `WP_Customize_Manager::add_setting()` and `WP_Customize_Setting` to a more appropriate place.

See #48303.
Built from https://develop.svn.wordpress.org/trunk@46691


git-svn-id: http://core.svn.wordpress.org/trunk@46491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-11-10 01:43:02 +00:00
parent 5fb34a0a1c
commit b0ddfb2435
3 changed files with 5 additions and 5 deletions

View File

@ -3674,6 +3674,8 @@ final class WP_Customize_Manager {
* @since 3.4.0 * @since 3.4.0
* @since 4.5.0 Return added WP_Customize_Setting instance. * @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 WP_Customize_Setting|string $id Customize Setting object, or ID.
* @param array $args { * @param array $args {
* Optional. Array of properties for the new WP_Customize_Setting. Default empty array. * 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. * @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 'refresh' makes the change visible by reloading the whole preview.
* Using 'postMessage' allows a custom JavaScript to handle live changes. * 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 $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_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 * @type callable $sanitize_js_callback Callback to convert a Customize PHP setting value to a value that is

View File

@ -13,6 +13,7 @@
* Handles saving and sanitizing of settings. * Handles saving and sanitizing of settings.
* *
* @since 3.4.0 * @since 3.4.0
* @link https://developer.wordpress.org/themes/customize-api
* *
* @see WP_Customize_Manager * @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 * Set this value to 'postMessage' to enable a custom JavaScript handler to render changes to this setting
* as opposed to reloading the whole page. * as opposed to reloading the whole page.
* *
* @link https://developer.wordpress.org/themes/customize-api
*
* @since 3.4.0 * @since 3.4.0
* @var string * @var string
*/ */

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-alpha-46690'; $wp_version = '5.4-alpha-46691';
/** /**
* 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.