mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Tighten our braces. Fixes #23118 props evansolomon.
git-svn-id: https://develop.svn.wordpress.org/trunk@23265 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -216,10 +216,10 @@ function get_theme_feature_list( $api = true ) {
|
||||
return $features;
|
||||
|
||||
if ( !$feature_list = get_site_transient( 'wporg_theme_feature_list' ) )
|
||||
set_site_transient( 'wporg_theme_feature_list', array( ), 10800);
|
||||
set_site_transient( 'wporg_theme_feature_list', array(), 10800);
|
||||
|
||||
if ( !$feature_list ) {
|
||||
$feature_list = themes_api( 'feature_list', array( ) );
|
||||
$feature_list = themes_api( 'feature_list', array() );
|
||||
if ( is_wp_error( $feature_list ) )
|
||||
return $features;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user