From 1d1c026e8eb4444506d8f959216fec25b0d090bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Tue, 21 Apr 2015 14:23:27 +0000 Subject: [PATCH] Rename the `pre_wp_prepare_themes_for_js` filter to `pre_prepare_themes_for_js`. props DrewAPicture. fixes #31789. Built from https://develop.svn.wordpress.org/trunk@32246 git-svn-id: http://core.svn.wordpress.org/trunk@32217 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/theme.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index a8c1fc0d50..47070cc756 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -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; diff --git a/wp-includes/version.php b/wp-includes/version.php index 98af3fb435..dea9960cac 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-RC2-32245'; +$wp_version = '4.2-RC2-32246'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.