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/rest-api/endpoints/class-wp-rest-themes-controller.php

    r52399 r52610  
    335335
    336336        if ( $theme->get_stylesheet() === wp_get_theme()->get_stylesheet() ) {
    337             // This creates a record for the current theme if not existent.
     337            // This creates a record for the active theme if not existent.
    338338            $id = WP_Theme_JSON_Resolver::get_user_global_styles_post_id();
    339339        } else {
Note: See TracChangeset for help on using the changeset viewer.