Changeset 52610 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 01/20/2022 11:51:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r52371 r52610 497 497 * Start preview and customize theme. 498 498 * 499 * Check if customize query variable exist. Init filters to filter the currenttheme.499 * Check if customize query variable exist. Init filters to filter the active theme. 500 500 * 501 501 * @since 3.4.0 … … 700 700 * Stop previewing the selected theme. 701 701 * 702 * Removes filters to change the currenttheme.702 * Removes filters to change the active theme. 703 703 * 704 704 * @since 3.4.0 … … 1770 1770 if ( isset( $setting_params['type'] ) && 'theme_mod' === $setting_params['type'] ) { 1771 1771 1772 // Ensure that theme mods values are only used if they were saved under the currenttheme.1772 // Ensure that theme mods values are only used if they were saved under the active theme. 1773 1773 $namespace_pattern = '/^(?P<stylesheet>.+?)::(?P<setting_id>.+)$/'; 1774 1774 if ( preg_match( $namespace_pattern, $setting_id, $matches ) && $this->get_stylesheet() === $matches['stylesheet'] ) { … … 2298 2298 2299 2299 /** 2300 * Filters the currenttheme and return the name of the previewed theme.2300 * Filters the active theme and return the name of the previewed theme. 2301 2301 * 2302 2302 * @since 3.4.0
Note: See TracChangeset
for help on using the changeset viewer.