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-json-resolver.php

    r52597 r52610  
    218218    /**
    219219     * Returns the custom post type that contains the user's origin config
    220      * for the current theme or a void array if none are found.
     220     * for the active theme or a void array if none are found.
    221221     *
    222222     * This can also create and return a new draft custom post type.
     
    225225     *
    226226     * @param WP_Theme $theme              The theme object. If empty, it
    227      *                                     defaults to the current theme.
     227     *                                     defaults to the active theme.
    228228     * @param bool     $create_post        Optional. Whether a new custom post
    229229     *                                     type should be created if none are
     
    397397
    398398    /**
    399      * Whether the current theme has a theme.json file.
     399     * Whether the active theme has a theme.json file.
    400400     *
    401401     * @since 5.8.0
Note: See TracChangeset for help on using the changeset viewer.