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

git-svn-id: https://develop.svn.wordpress.org/trunk@6185 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2007-10-03 16:27:07 +00:00
parent c23298decb
commit 9c63ee1146
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -493,7 +493,7 @@ function parent_dropdown( $default = 0, $parent = 0, $level = 0 ) {
else
$current = '';
echo "\n\t<option value='$item->ID'$current>$pad $item->post_title</option>";
echo "\n\t<option value='$item->ID'$current>$pad " . wp_specialchars($item->post_title) . "</option>";
parent_dropdown( $default, $item->ID, $level +1 );
}
} else {