Ticket #31789: 31789.3.diff
File 31789.3.diff, 680 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/includes/theme.php
421 421 * @param null|array $themes An array of WP_Theme objects to prepare, if any. 422 422 * @param string $current_theme The current theme slug. 423 423 */ 424 $prepared_themes = (array) apply_filters( 'pre_ wp_prepare_themes_for_js', array(), $themes, $current_theme );424 $prepared_themes = (array) apply_filters( 'pre_prepare_themes_for_js', array(), $themes, $current_theme ); 425 425 426 426 if ( ! empty( $prepared_themes ) ) { 427 427 return $prepared_themes;