Make WordPress Core


Ignore:
Timestamp:
11/01/2009 10:10:06 AM (15 years ago)
Author:
westi
Message:

Introduce require_if_theme_supports(), move post thumbnails functions to there own include and only included them if the theme supports them. See #10928 and [12132]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r12128 r12134  
    688688    include(TEMPLATEPATH . '/functions.php');
    689689
     690// Load in support for template functions which the theme supports
     691require_if_theme_supports( 'post-thumbnails', ABSPATH . WPINC . '/post-image-template.php' );
     692
    690693/**
    691694 * Runs just before PHP shuts down execution.
Note: See TracChangeset for help on using the changeset viewer.