WordPress.org

Make WordPress Core

Changeset 14175


Ignore:
Timestamp:
04/21/10 17:14:25 (4 years ago)
Author:
westi
Message:

Improve documentation of validate_current_theme()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/theme.php

    r14152 r14175  
    11771177 * Checks that current theme files 'index.php' and 'style.css' exists. 
    11781178 * 
    1179  * Does not check the 'default' theme. The 'default' theme should always exist 
    1180  * or should have another theme renamed to that template name and directory 
    1181  * path. Will switch theme to default if current theme does not validate. 
     1179 * Does not check the fallback theme. The fallback theme should always exist. 
     1180 * Will switch theme to the fallback theme if current theme does not validate. 
    11821181 * You can use the 'validate_current_theme' filter to return FALSE to 
    11831182 * disable this functionality. 
    11841183 * 
    11851184 * @since 1.5.0 
     1185 * @see WP_FALLBACK_THEME 
    11861186 * 
    11871187 * @return bool 
Note: See TracChangeset for help on using the changeset viewer.