Make WordPress Core

Changeset 46691


Ignore:
Timestamp:
11/10/2019 01:41:43 AM (5 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/src/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r46661 r46691  
    36753675     * @since 4.5.0 Return added WP_Customize_Setting instance.
    36763676     *
     3677     * @link https://developer.wordpress.org/themes/customize-api
     3678     *
    36773679     * @param WP_Customize_Setting|string $id   Customize Setting object, or ID.
    36783680     * @param array                       $args {
     
    36863688     *                                            Using 'refresh' makes the change visible by reloading the whole preview.
    36873689     *                                            Using 'postMessage' allows a custom JavaScript to handle live changes.
    3688      * @link https://developer.wordpress.org/themes/customize-api
    3689      *                                            Default is 'refresh'
     3690     *                                            Default is 'refresh'.
    36903691     *  @type callable     $validate_callback     Server-side validation callback for the setting's value.
    36913692     *  @type callable     $sanitize_callback     Callback to filter a Customize setting value in un-slashed form.
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r46133 r46691  
    1414 *
    1515 * @since 3.4.0
     16 * @link https://developer.wordpress.org/themes/customize-api
    1617 *
    1718 * @see WP_Customize_Manager
     
    7172     * Set this value to 'postMessage' to enable a custom JavaScript handler to render changes to this setting
    7273     * as opposed to reloading the whole page.
    73      *
    74      * @link https://developer.wordpress.org/themes/customize-api
    7574     *
    7675     * @since 3.4.0
Note: See TracChangeset for help on using the changeset viewer.