Make WordPress Core


Ignore:
Timestamp:
05/14/2020 12:49:00 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add @since notes for theme features added or removed in get_theme_feature_list() after its introduction in WordPress 3.1.

See #50165.

File:
1 edited

Legend:

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

    r47631 r47794  
    935935                    return $this->name_translated;
    936936                }
     937
    937938                // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText,WordPress.WP.I18n.NonSingularStringLiteralDomain
    938939                $this->name_translated = translate( $value, $this->get( 'TextDomain' ) );
     940
    939941                return $this->name_translated;
    940942            case 'Tags':
     
    971973
    972974                    $feature_list = get_theme_feature_list( false ); // No API.
     975
    973976                    foreach ( $feature_list as $tags ) {
    974977                        $tags_list += $tags;
Note: See TracChangeset for help on using the changeset viewer.