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:
Peter Westwood
2013-01-04 10:13:51 +00:00
parent 672bd9a43d
commit d927271553
10 changed files with 32 additions and 32 deletions
+3 -3
View File
@@ -28,14 +28,14 @@ $theme_field_defaults = array( 'description' => true, 'sections' => false, 'test
*
* @return array
*/
function install_themes_feature_list( ) {
function install_themes_feature_list() {
if ( !$cache = get_transient( 'wporg_theme_feature_list' ) )
set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS );
if ( $cache )
return $cache;
$feature_list = themes_api( 'feature_list', array( ) );
$feature_list = themes_api( 'feature_list', array() );
if ( is_wp_error( $feature_list ) )
return $features;
@@ -100,7 +100,7 @@ function install_themes_dashboard() {
<form method="get" action="">
<input type="hidden" name="tab" value="search" />
<?php
$feature_list = get_theme_feature_list( );
$feature_list = get_theme_feature_list();
echo '<div class="feature-filter">';
foreach ( (array) $feature_list as $feature_name => $features ) {