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-customize-manager.php

    r52371 r52610  
    497497     * Start preview and customize theme.
    498498     *
    499      * Check if customize query variable exist. Init filters to filter the current theme.
     499     * Check if customize query variable exist. Init filters to filter the active theme.
    500500     *
    501501     * @since 3.4.0
     
    700700     * Stop previewing the selected theme.
    701701     *
    702      * Removes filters to change the current theme.
     702     * Removes filters to change the active theme.
    703703     *
    704704     * @since 3.4.0
     
    17701770                if ( isset( $setting_params['type'] ) && 'theme_mod' === $setting_params['type'] ) {
    17711771
    1772                     // Ensure that theme mods values are only used if they were saved under the current theme.
     1772                    // Ensure that theme mods values are only used if they were saved under the active theme.
    17731773                    $namespace_pattern = '/^(?P<stylesheet>.+?)::(?P<setting_id>.+)$/';
    17741774                    if ( preg_match( $namespace_pattern, $setting_id, $matches ) && $this->get_stylesheet() === $matches['stylesheet'] ) {
     
    22982298
    22992299    /**
    2300      * Filters the current theme and return the name of the previewed theme.
     2300     * Filters the active theme and return the name of the previewed theme.
    23012301     *
    23022302     * @since 3.4.0
Note: See TracChangeset for help on using the changeset viewer.