Make WordPress Core


Ignore:
Timestamp:
10/03/2007 04:26:16 PM (18 years ago)
Author:
ryan
Message:

Add page sanitization. Props xknown. fixes #5135 for 2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/wp-admin/includes/template.php

    r6089 r6184  
    494494                $current = '';
    495495
    496             echo "\n\t<option value='$item->ID'$current>$pad $item->post_title</option>";
     496            echo "\n\t<option value='$item->ID'$current>$pad " . wp_specialchars($item->post_title) . "</option>";
    497497            parent_dropdown( $default, $item->ID, $level +1 );
    498498        }
Note: See TracChangeset for help on using the changeset viewer.