WordPress.org

Make WordPress Core

Changeset 42749


Ignore:
Timestamp:
02/25/2018 08:48:14 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Twenty Fourteen: Remove redundant @access and @static notations from classes.

Props birgire.
See #41452, #42803, #42505.

Location:
trunk/src/wp-content/themes/twentyfourteen/inc
Files:
2 edited

Legend:

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

    r42343 r42749  
    2424     * @since Twenty Fourteen 1.0
    2525     *
    26      * @static
    27      * @access public
    2826     * @var int
    2927     */
     
    3533     * All custom functionality will be hooked into the "init" action.
    3634     *
    37      * @static
    38      * @access public
    3935     * @since Twenty Fourteen 1.0
    4036     */
     
    5248     * We'll just return early instead.
    5349     *
    54      * @static
    55      * @access public
    5650     * @since Twenty Fourteen 1.0
    5751     */
     
    10195     * have a chance to alter the value.
    10296     *
    103      * @static
    104      * @access public
    10597     * @since Twenty Fourteen 1.0
    10698     */
     
    115107     * Get featured posts.
    116108     *
    117      * @static
    118      * @access public
    119109     * @since Twenty Fourteen 1.0
    120110     *
     
    147137     * Sets the "featured_content_ids" transient.
    148138     *
    149      * @static
    150      * @access public
    151139     * @since Twenty Fourteen 1.0
    152140     *
     
    194182     * Return an array with IDs of posts maked as sticky.
    195183     *
    196      * @static
    197      * @access public
    198184     * @since Twenty Fourteen 1.0
    199185     *
     
    211197     * @see Featured_Content::validate_settings().
    212198     *
    213      * @static
    214      * @access public
    215199     * @since Twenty Fourteen 1.0
    216200     */
     
    226210     * the query before it gets any posts.
    227211     *
    228      * @static
    229      * @access public
    230212     * @since Twenty Fourteen 1.0
    231213     *
     
    274256     * @see Featured_Content::validate_settings().
    275257     *
    276      * @static
    277      * @access public
    278258     * @since Twenty Fourteen 1.0
    279259     *
     
    297277     * Hooks into the "get_terms" filter.
    298278     *
    299      * @static
    300      * @access public
    301279     * @since Twenty Fourteen 1.0
    302280     *
     
    345323     * Hooks into the "get_the_terms" filter.
    346324     *
    347      * @static
    348      * @access public
    349325     * @since Twenty Fourteen 1.0
    350326     *
     
    386362     * Register custom setting on the Settings -> Reading screen.
    387363     *
    388      * @static
    389      * @access public
    390364     * @since Twenty Fourteen 1.0
    391365     */
     
    397371     * Add settings to the Customizer.
    398372     *
    399      * @static
    400      * @access public
    401373     * @since Twenty Fourteen 1.0
    402374     *
     
    454426     * Enqueue the tag suggestion script.
    455427     *
    456      * @static
    457      * @access public
    458428     * @since Twenty Fourteen 1.0
    459429     */
     
    474444     * value will be returned.
    475445     *
    476      * @static
    477      * @access public
    478446     * @since Twenty Fourteen 1.0
    479447     *
     
    507475     * delete the transient set in Featured_Content::get_featured_content().
    508476     *
    509      * @static
    510      * @access public
    511477     * @since Twenty Fourteen 1.0
    512478     *
  • trunk/src/wp-content/themes/twentyfourteen/inc/widgets.php

    r42343 r42749  
    1717     * The supported post formats.
    1818     *
    19      * @access private
    2019     * @since Twenty Fourteen 1.0
    2120     *
     
    6564     * Output the HTML for this widget.
    6665     *
    67      * @access public
    6866     * @since Twenty Fourteen 1.0
    6967     *
Note: See TracChangeset for help on using the changeset viewer.