Changeset 47122 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r46751 r47122 174 174 * Constructor for WP_Theme. 175 175 * 176 * @since 176 * @since 3.4.0 177 177 * 178 178 * @global array $wp_theme_directories … … 436 436 * When converting the object to a string, the theme name is returned. 437 437 * 438 * @since 438 * @since 3.4.0 439 439 * 440 440 * @return string Theme name, ready for display (translated) … … 449 449 * @staticvar array $properties 450 450 * 451 * @since 451 * @since 3.4.0 452 452 * 453 453 * @param string $offset Property to check if set. … … 478 478 * __get() magic method for properties formerly returned by current_theme_info() 479 479 * 480 * @since 480 * @since 3.4.0 481 481 * 482 482 * @param string $offset Property to get. … … 522 522 * Method to implement ArrayAccess for keys formerly returned by get_themes() 523 523 * 524 * @since 524 * @since 3.4.0 525 525 * 526 526 * @param mixed $offset … … 532 532 * Method to implement ArrayAccess for keys formerly returned by get_themes() 533 533 * 534 * @since 534 * @since 3.4.0 535 535 * 536 536 * @param mixed $offset … … 543 543 * @staticvar array $keys 544 544 * 545 * @since 545 * @since 3.4.0 546 546 * 547 547 * @param mixed $offset … … 584 584 * translated header. 585 585 * 586 * @since 586 * @since 3.4.0 587 587 * 588 588 * @param mixed $offset … … 960 960 ); 961 961 962 $feature_list = get_theme_feature_list( false ); // No API 962 $feature_list = get_theme_feature_list( false ); // No API. 963 963 foreach ( $feature_list as $tags ) { 964 964 $tags_list += $tags; … … 1342 1342 * Loads the theme's textdomain. 1343 1343 * 1344 * Translation files are not inherited from the parent theme. T odo: if this fails for the1344 * Translation files are not inherited from the parent theme. TODO: If this fails for the 1345 1345 * child theme, it should probably try to load the parent theme's translations. 1346 1346 * … … 1415 1415 * This hits the filesystem. 1416 1416 * 1417 * @since 1417 * @since 4.4.0 1418 1418 * 1419 1419 * @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.