Changeset 20018
- Timestamp:
- 02/28/2012 07:59:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r20016 r20018 712 712 * 713 713 * @param string $stylesheet_or_template The stylesheet or template name of the theme 714 * @param bool $skip_cache Optional. Whether to skip the cache. Defaults to false, meaning the cache is used. 714 715 * @return string Theme root 715 716 */ 716 function get_raw_theme_root( $stylesheet_or_template, $ no_cache = false ) {717 function get_raw_theme_root( $stylesheet_or_template, $skip_cache = false ) { 717 718 global $wp_theme_directories; 718 719 … … 723 724 724 725 // If requesting the root for the current theme, consult options to avoid calling get_theme_roots() 725 if ( ! $no_cache ) {726 if ( ! $skip_cache ) { 726 727 if ( get_option('stylesheet') == $stylesheet_or_template ) 727 728 $theme_root = get_option('stylesheet_root');
Note: See TracChangeset
for help on using the changeset viewer.