Make WordPress Core


Ignore:
Timestamp:
07/29/2015 06:35:40 PM (10 years ago)
Author:
ocean90
Message:

Themes: Remove legacy theme preview.

The pre-3.4 theme previewer doesn't work when using a static front page.
We kept the old theme preview for no-JS and some browsers that were less capable. But since browsers are doing a better job today we don't need to continue fixing/shipping this legacy code. Bye!

fixes #33178.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r33187 r33492  
    336336 */
    337337// Theme
    338 add_action( 'setup_theme', 'preview_theme' );
    339338add_action( 'wp_loaded', '_custom_header_background_just_in_time' );
    340339add_action( 'plugins_loaded', '_wp_customize_include' );
Note: See TracChangeset for help on using the changeset viewer.