Changeset 9087 for trunk/wp-includes/theme.php
- Timestamp:
- 10/06/2008 03:29:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r8974 r9087 933 933 * or should have another theme renamed to that template name and directory 934 934 * path. Will switch theme to default if current theme does not validate. 935 * You can use the 'validate_current_theme' filter to return FALSE to 936 * disable this functionality. 935 937 * 936 938 * @since 1.5.0 … … 940 942 function validate_current_theme() { 941 943 // Don't validate during an install/upgrade. 942 if ( defined('WP_INSTALLING') )944 if ( defined('WP_INSTALLING') || !apply_filters( 'validate_current_theme', true ) ) 943 945 return true; 944 946
Note: See TracChangeset
for help on using the changeset viewer.