Changeset 36344
- Timestamp:
- 01/18/2016 07:56:54 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template-loader.php
r36338 r36344 87 87 if ( $template = apply_filters( 'template_include', $template ) ) { 88 88 include( $template ); 89 } elseif ( current_user_can( ' install_themes' ) ) {89 } elseif ( current_user_can( 'switch_themes' ) ) { 90 90 $theme = wp_get_theme(); 91 91 if ( $theme->errors() ) {
Note: See TracChangeset
for help on using the changeset viewer.