Make WordPress Core

Ticket #31789: 31789.3.diff

File 31789.3.diff, 680 bytes (added by DrewAPicture, 9 years ago)

Renamed to pre_prepare_themes_for_js

  • src/wp-admin/includes/theme.php

     
    421421         * @param null|array $themes          An array of WP_Theme objects to prepare, if any.
    422422         * @param string     $current_theme   The current theme slug.
    423423         */
    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 );
    425425
    426426        if ( ! empty( $prepared_themes ) ) {
    427427                return $prepared_themes;