Make WordPress Core


Ignore:
Timestamp:
02/27/2010 08:26:37 PM (17 years ago)
Author:
nacin
Message:

Escape mod_$theme option name. see #9015

File:
1 edited

Legend:

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

    r13453 r13469  
    12011201        $theme = get_current_theme();
    12021202
    1203         $mods = get_option("mods_$theme");
     1203        $mods = get_option( esc_sql( "mods_$theme" ) );
    12041204
    12051205        if ( isset($mods[$name]) )
Note: See TracChangeset for help on using the changeset viewer.