Make WordPress Core

Changeset 30676


Ignore:
Timestamp:
11/30/2014 11:32:31 PM (12 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for src/wp-includes/class-wp-customize*.php.

See #30224.

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

Legend:

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

    r30656 r30676  
    823823         *
    824824         * @param WP_Customize_Manager $manager
     825         * @param string $id
     826         * @param array  $args
    825827         */
    826828        public function __construct( $manager, $id, $args = array() ) {
    … …  
    902904        public $default_headers;
    903905
     906        /**
     907         * @param WP_Customize_Manager $manager
     908         */
    904909        public function __construct( $manager ) {
    905910                parent::__construct( $manager, 'header_image', array(
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r30606 r30676  
    6363        protected $registered_control_types = array();
    6464
    65         /** 
     65        /**
    6666         * $_POST values for Customize Settings.
    6767         *
    … …  
    404404         * @since 3.4.0
    405405         *
    406          * @param mixed $setting A WP_Customize_Setting derived object
     406         * @param WP_Customize_Setting $setting A WP_Customize_Setting derived object
    407407         * @return string $post_value Sanitized value
    408408         */
  • trunk/src/wp-includes/class-wp-customize-setting.php

    r30656 r30676  
    169169         * @since 3.4.0
    170170         *
    171          * @return bool False if cap check fails or value isn't set.
     171         * @return false|null False if cap check fails or value isn't set.
    172172         */
    173173        public final function save() {
    … …  
    295295         *
    296296         * @param mixed $value The value to update.
    297          * @return mixed The result of saving the value.
     297         * @return bool|null The result of saving the value.
    298298         */
    299299        protected function _update_option( $value ) {
    … …  
    470470         * @param $root
    471471         * @param $keys
    472          * @param $default A default value which is used as a fallback. Default is null.
     472         * @param mixed $default A default value which is used as a fallback. Default is null.
    473473         * @return mixed The requested value or the default value.
    474474         */
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r30329 r30676  
    326326         * @access public
    327327         *
    328          * @param array $sidebars_widgets
     328         * @param array $old_sidebars_widgets
    329329         */
    330330        public function filter_customize_value_old_sidebars_widgets_data( $old_sidebars_widgets ) {
Note: See TracChangeset for help on using the changeset viewer.