Make WordPress Core


Ignore:
Timestamp:
01/20/2022 11:51:22 PM (4 years ago)
Author:
audrasjb
Message:

Docs: Replace "Current theme" with "Active theme" in various DocBlocks.

This change replaces "Current theme" with "Active theme" in various DocBlocks for better consistency with user-facing strings.

Follow-up to [52580].

Props Presskopp, audrasjb, costdev.
Fixes #54831.
See #54770.

File:
1 edited

Legend:

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

    r52603 r52610  
    699699     * @since 3.4.0
    700700     *
    701      * @return WP_Theme|false Parent theme, or false if the current theme is not a child theme.
     701     * @return WP_Theme|false Parent theme, or false if the active theme is not a child theme.
    702702     */
    703703    public function parent() {
     
    12181218     */
    12191219    public function get_post_templates() {
    1220         // If you screw up your current theme and we invalidate your parent, most things still work. Let it slide.
     1220        // If you screw up your active theme and we invalidate your parent, most things still work. Let it slide.
    12211221        if ( $this->errors() && $this->errors()->get_error_codes() !== array( 'theme_parent_invalid' ) ) {
    12221222            return array();
Note: See TracChangeset for help on using the changeset viewer.