Clear theme cache after editing. Reduce default cache persistence to 1800. (Could go lower.) see #20331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -351,10 +351,9 @@ function search_theme_directories( $force = false ) {
|
||||
return $found_themes;
|
||||
}
|
||||
if ( ! is_int( $cache_expiration ) )
|
||||
$cache_expiration = 7200;
|
||||
$cache_expiration = 1800; // half hour
|
||||
} else {
|
||||
// Two hours is the default.
|
||||
$cache_expiration = 7200;
|
||||
$cache_expiration = 1800; // half hour
|
||||
}
|
||||
|
||||
/* Loop the registered theme directories and extract all themes */
|
||||
|
||||
Reference in New Issue
Block a user