Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r46751 r47122  
    174174         * Constructor for WP_Theme.
    175175         *
    176          * @since  3.4.0
     176         * @since 3.4.0
    177177         *
    178178         * @global array $wp_theme_directories
     
    436436         * When converting the object to a string, the theme name is returned.
    437437         *
    438          * @since  3.4.0
     438         * @since 3.4.0
    439439         *
    440440         * @return string Theme name, ready for display (translated)
     
    449449         * @staticvar array $properties
    450450         *
    451          * @since  3.4.0
     451         * @since 3.4.0
    452452         *
    453453         * @param string $offset Property to check if set.
     
    478478         * __get() magic method for properties formerly returned by current_theme_info()
    479479         *
    480          * @since  3.4.0
     480         * @since 3.4.0
    481481         *
    482482         * @param string $offset Property to get.
     
    522522         * Method to implement ArrayAccess for keys formerly returned by get_themes()
    523523         *
    524          * @since  3.4.0
     524         * @since 3.4.0
    525525         *
    526526         * @param mixed $offset
     
    532532         * Method to implement ArrayAccess for keys formerly returned by get_themes()
    533533         *
    534          * @since  3.4.0
     534         * @since 3.4.0
    535535         *
    536536         * @param mixed $offset
     
    543543         * @staticvar array $keys
    544544         *
    545          * @since  3.4.0
     545         * @since 3.4.0
    546546         *
    547547         * @param mixed $offset
     
    584584         * translated header.
    585585         *
    586          * @since  3.4.0
     586         * @since 3.4.0
    587587         *
    588588         * @param mixed $offset
     
    960960                                        );
    961961
    962                                         $feature_list = get_theme_feature_list( false ); // No API
     962                                        $feature_list = get_theme_feature_list( false ); // No API.
    963963                                        foreach ( $feature_list as $tags ) {
    964964                                                $tags_list += $tags;
     
    13421342         * Loads the theme's textdomain.
    13431343         *
    1344          * Translation files are not inherited from the parent theme. Todo: if this fails for the
     1344         * Translation files are not inherited from the parent theme. TODO: If this fails for the
    13451345         * child theme, it should probably try to load the parent theme's translations.
    13461346         *
     
    14151415         * This hits the filesystem.
    14161416         *
    1417          * @since  4.4.0
     1417         * @since 4.4.0
    14181418         *
    14191419         * @return WP_Theme|false Object, or false if no theme is installed, which would be bad.
Note: See TracChangeset for help on using the changeset viewer.