Ticket #16507: 16507.diff
| File 16507.diff, 416 bytes (added by kawauso, 2 years ago) |
|---|
-
wp-admin/theme-editor.php
45 45 if (empty($theme)) { 46 46 $theme = get_current_theme(); 47 47 } else { 48 $theme = stripslashes($theme);48 $theme = wp_kses_normalize_entities( stripslashes( $theme ) ); 49 49 } 50 50 51 51 if ( ! isset($themes[$theme]) )