Make WordPress Core


Ignore:
Timestamp:
02/13/2010 10:35:10 AM (15 years ago)
Author:
nacin
Message:

Don't use deprecated functions. see #11388

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r12965 r13106  
    213213        if ( is_array( $blog_allowed_themes ) ) {
    214214            foreach( (array) $themes as $key => $theme ) {
    215                 $theme_key = wp_specialchars( $theme[ 'Stylesheet' ] );
     215                $theme_key = esc_html( $theme[ 'Stylesheet' ] );
    216216                if ( isset( $blog_allowed_themes[ $key ] ) == true ) {
    217217                    $blog_allowedthemes[ $theme_key ] = 1;
     
    336336        } else {
    337337            foreach( (array) $themes as $key => $theme ) {
    338                 $theme_key = wp_specialchars( $theme[ 'Stylesheet' ] );
     338                $theme_key = esc_html( $theme[ 'Stylesheet' ] );
    339339                if ( isset( $allowed_themes[ $key ] ) == true ) {
    340340                    $allowedthemes[ $theme_key ] = 1;
Note: See TracChangeset for help on using the changeset viewer.