Make WordPress Core

Changeset 32032


Ignore:
Timestamp:
04/05/2015 03:06:40 PM (10 years ago)
Author:
DrewAPicture
Message:

Fix inline documentation syntax in a variety of DocBlocks and hook docs in WP_Customize_Manager.

See [31370]. See #31888.

File:
1 edited

Legend:

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

    r32031 r32032  
    571571     *
    572572     * @since 4.2.0
     573     * @access public
    573574     */
    574575    public function customize_preview_loading_style() {
     
    769770
    770771        /**
    771          * Filter response data for a successful customize_save Ajax request.
     772         * Filter response data for a successful customize_save AJAX request.
    772773         *
    773774         * This filter does not apply if there was a nonce or authentication failure.
     
    802803
    803804    /**
    804      * Register any dynamically-created settings, such as those from $_POST['customized'] that have no corresponding setting created.
     805     * Register any dynamically-created settings, such as those from $_POST['customized']
     806     * that have no corresponding setting created.
    805807     *
    806808     * This is a mechanism to "wake up" settings that have been dynamically created
    807      * on the frontend and have been sent to WordPress in $_POST['customized']. When WP
     809     * on the frontend and have been sent to WordPress in `$_POST['customized']`. When WP
    808810     * loads, the dynamically-created settings then will get created and previewed
    809811     * even though they are not directly created statically with code.
     
    811813     * @since 4.2.0
    812814     *
    813      * @param string[] $setting_ids The setting IDs to add.
    814      * @return WP_Customize_Setting[] The settings added.
     815     * @param string $setting_ids The setting IDs to add.
     816     * @return WP_Customize_Setting The settings added.
    815817     */
    816818    public function add_dynamic_settings( $setting_ids ) {
     
    834836             * @since 4.2.0
    835837             *
    836              * @param false|array $setting_args  The arguments to the WP_Customize_Setting constructor.
    837              * @param string      $setting_id    ID for dynamic setting, usually coming from $_POST['customized'].
     838             * @param false|array $setting_args The arguments to the WP_Customize_Setting constructor.
     839             * @param string      $setting_id   ID for dynamic setting, usually coming from `$_POST['customized']`.
    838840             */
    839841            $setting_args = apply_filters( 'customize_dynamic_setting_args', $setting_args, $setting_id );
     
    847849             * @since 4.2.0
    848850             *
    849              * @param string $setting_class  WP_Customize_Setting or a subclass.
    850              * @param string $setting_id     ID for dynamic setting, usually coming from $_POST['customized'].
    851              * @param string $setting_args   WP_Customize_Setting or a subclass.
     851             * @param string $setting_class WP_Customize_Setting or a subclass.
     852             * @param string $setting_id    ID for dynamic setting, usually coming from `$_POST['customized']`.
     853             * @param string $setting_args  WP_Customize_Setting or a subclass.
    852854             */
    853855            $setting_class = apply_filters( 'customize_dynamic_setting_class', $setting_class, $setting_id, $setting_args );
    854856
    855857            $setting = new $setting_class( $this, $setting_id, $setting_args );
     858
    856859            $this->add_setting( $setting );
    857860            $new_settings[] = $setting;
     
    14511454     *
    14521455     * @since 4.2.0
     1456     * @access public
     1457     *
     1458     * @see add_dynamic_settings()
    14531459     */
    14541460    public function register_dynamic_settings() {
Note: See TracChangeset for help on using the changeset viewer.