Make WordPress Core


Ignore:
Timestamp:
04/27/2012 04:54:36 AM (12 years ago)
Author:
nacin
Message:

Deprecate require_if_theme_supports(). Always require post-thumbnail-template.php. fixes #20556. fixes #20409.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r20029 r20610  
    122122require( ABSPATH . WPINC . '/post.php' );
    123123require( ABSPATH . WPINC . '/post-template.php' );
     124require( ABSPATH . WPINC . '/post-thumbnail-template.php' );
    124125require( ABSPATH . WPINC . '/category.php' );
    125126require( ABSPATH . WPINC . '/category-template.php' );
     
    289290do_action( 'after_setup_theme' );
    290291
    291 // Load any template functions the theme supports.
    292 require_if_theme_supports( 'post-thumbnails', ABSPATH . WPINC . '/post-thumbnail-template.php' );
    293 
    294292// Set up current user.
    295293$wp->init();
Note: See TracChangeset for help on using the changeset viewer.