Changeset 57608 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 02/13/2024 08:52:23 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r57584 r57608 1975 1975 return false; 1976 1976 } 1977 $pattern_data = wp_cache_get( 'wp_theme_patterns_' . $this->stylesheet );1977 $pattern_data = wp_cache_get( 'wp_theme_patterns_' . $this->stylesheet, 'theme_files' ); 1978 1978 if ( is_array( $pattern_data ) && $pattern_data['version'] === $this->get( 'Version' ) ) { 1979 1979 return $pattern_data['patterns']; … … 1994 1994 'patterns' => $patterns, 1995 1995 ); 1996 wp_cache_set( 'wp_theme_patterns_' . $this->stylesheet, $pattern_data );1996 wp_cache_set( 'wp_theme_patterns_' . $this->stylesheet, $pattern_data, 'theme_files' ); 1997 1997 } 1998 1998 … … 2003 2003 */ 2004 2004 public function delete_pattern_cache() { 2005 wp_cache_delete( 'wp_theme_patterns_' . $this->stylesheet );2005 wp_cache_delete( 'wp_theme_patterns_' . $this->stylesheet, 'theme_files' ); 2006 2006 } 2007 2007
Note: See TracChangeset
for help on using the changeset viewer.