Make WordPress Core


Ignore:
Timestamp:
12/03/2013 05:05:53 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php

    r26355 r26556  
    1717         * The supported post formats.
    1818         *
     19         * @access private
    1920         * @since Twenty Fourteen 1.0
    2021         *
    … …  
    2627         * Pluralized post format strings.
    2728         *
     29         * @access private
    2830         * @since Twenty Fourteen 1.0
    2931         *
    … …  
    6668         * Output the HTML for this widget.
    6769         *
    68          * @since Twenty Fourteen 1.0
    69          *
    70          * @param array $args An array of standard parameters for widgets in this theme.
     70         * @access public
     71         * @since Twenty Fourteen 1.0
     72         *
     73         * @param array $args     An array of standard parameters for widgets in this theme.
    7174         * @param array $instance An array of settings for this widget instance.
    7275         * @return void Echoes its output.
    … …  
    220223
    221224        /**
    222          * Deal with the settings when they are saved by the admin. Here is where
    223          * any validation should happen.
    224          *
    225          * @since Twenty Fourteen 1.0
    226          *
    227          * @param array $new_instance
    228          * @param array $instance
    229          * @return array
     225         * Deal with the settings when they are saved by the admin.
     226         *
     227         * Here is where any validation should happen.
     228         *
     229         * @since Twenty Fourteen 1.0
     230         *
     231         * @param array $new_instance New widget instance.
     232         * @param array $instance     Original widget instance.
     233         * @return array Updated widget instance.
    230234         */
    231235        function update( $new_instance, $instance ) {
Note: See TracChangeset for help on using the changeset viewer.