Make WordPress Core


Ignore:
Timestamp:
10/11/2013 10:01:14 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: first pass for updating code comments to reflect WP inline docs standards, see #25257.

File:
1 edited

Legend:

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

    r25743 r25769  
    11<?php
    22/**
    3  * Makes a custom Widget for displaying Aside, Quote, Video, Image, Gallery,
    4  * and Link posts, available with Twenty Fourteen.
     3 * Custom Widget for displaying specific post formats
    54 *
    6  * Learn more: http://codex.wordpress.org/Widgets_API#Developing_Widgets
     5 * Displays posts from Aside, Quote, Video, Image, Gallery, and Link formats.
     6 *
     7 * @link http://codex.wordpress.org/Widgets_API#Developing_Widgets
    78 *
    89 * @package WordPress
    910 * @subpackage Twenty_Fourteen
     11 * @since Twenty Fourteen 1.0
    1012 */
    1113
     
    1517     * The supported post formats.
    1618     *
     19     * @since Twenty Fourteen 1.0
     20     *
    1721     * @var array
    1822     */
     
    2226     * Pluralized post format strings.
    2327     *
     28     * @since Twenty Fourteen 1.0
     29     *
    2430     * @var array
    2531     */
     
    2834    /**
    2935     * Constructor.
     36     *
     37     * @since Twenty Fourteen 1.0
    3038     *
    3139     * @return Twenty_Fourteen_Ephemera_Widget
     
    3745        ) );
    3846
    39         /**
     47        /*
    4048         * @todo http://core.trac.wordpress.org/ticket/23257
    4149         */
     
    5563
    5664    /**
    57      * Outputs the HTML for this widget.
     65     * Output the HTML for this widget.
     66     *
     67     * @since Twenty Fourteen 1.0
    5868     *
    5969     * @param array $args An array of standard parameters for widgets in this theme.
     
    192202
    193203    /**
    194      * Deals with the settings when they are saved by the admin. Here is where
    195      * any validation should be dealt with.
     204     * Deal with the settings when they are saved by the admin. Here is where
     205     * any validation should happen.
     206     *
     207     * @since Twenty Fourteen 1.0
    196208     *
    197209     * @param array $new_instance
     
    211223
    212224    /**
    213      * Deletes the transient.
     225     * Delete the transient.
     226     *
     227     * @since Twenty Fourteen 1.0
    214228     *
    215229     * @return void
     
    220234
    221235    /**
    222      * Displays the form for this widget on the Widgets page of the Admin area.
     236     * Display the form for this widget on the Widgets page of the Admin area.
     237     *
     238     * @since Twenty Fourteen 1.0
    223239     *
    224240     * @param array $instance
Note: See TracChangeset for help on using the changeset viewer.