We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7545ff7 commit 5683379Copy full SHA for 5683379
src/WP_CLI/ParseThemeNameInput.php
@@ -89,7 +89,7 @@ private function get_all_themes() {
89
$auto_updates = [];
90
}
91
92
- foreach ( wp_get_themes( array( 'errors' => null ) ) as $key => $theme ) {
+ foreach ( wp_get_themes( [ 'errors' => null ] ) as $key => $theme ) {
93
$stylesheet = $theme->get_stylesheet();
94
$update_info = ( isset( $all_update_info->response[ $stylesheet ] ) && null !== $all_update_info->response[ $theme->get_stylesheet() ] ) ? (array) $all_update_info->response[ $theme->get_stylesheet() ] : null;
95
0 commit comments