Rename the pre_wp_prepare_themes_for_js
filter to pre_prepare_themes_for_js
.
props DrewAPicture. fixes #31789. git-svn-id: https://develop.svn.wordpress.org/trunk@32246 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
10640611f6
commit
b7d25c00e2
@ -421,7 +421,7 @@ function wp_prepare_themes_for_js( $themes = null ) {
|
||||
* @param null|array $themes An array of WP_Theme objects to prepare, if any.
|
||||
* @param string $current_theme The current theme slug.
|
||||
*/
|
||||
$prepared_themes = (array) apply_filters( 'pre_wp_prepare_themes_for_js', array(), $themes, $current_theme );
|
||||
$prepared_themes = (array) apply_filters( 'pre_prepare_themes_for_js', array(), $themes, $current_theme );
|
||||
|
||||
if ( ! empty( $prepared_themes ) ) {
|
||||
return $prepared_themes;
|
||||
|
Loading…
Reference in New Issue
Block a user