Changeset 13106 for trunk/wp-admin/includes/theme.php
- Timestamp:
- 02/13/2010 10:35:10 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/theme.php
r12859 r13106 143 143 $allowed_themes = array_merge( $allowed_themes, $blog_allowed_themes ); 144 144 145 if ( isset( $allowed_themes[ wp_specialchars( $ct->stylesheet ) ] ) == false )146 $allowed_themes[ wp_specialchars( $ct->stylesheet ) ] = true;145 if ( isset( $allowed_themes[ esc_html( $ct->stylesheet ) ] ) == false ) 146 $allowed_themes[ esc_html( $ct->stylesheet ) ] = true; 147 147 148 148 reset( $themes ); 149 149 foreach ( $themes as $key => $theme ) { 150 if ( isset( $allowed_themes[ wp_specialchars( $theme[ 'Stylesheet' ] ) ] ) == false )150 if ( isset( $allowed_themes[ esc_html( $theme[ 'Stylesheet' ] ) ] ) == false ) 151 151 unset( $themes[ $key ] ); 152 152 }
Note: See TracChangeset
for help on using the changeset viewer.