Changeset 41414 for branches/4.6/src/wp-admin/includes/template.php
- Timestamp:
- 09/19/2017 10:21:45 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.6/src/wp-admin/includes/template.php
r38226 r41414 770 770 foreach ( array_keys( $templates ) as $template ) { 771 771 $selected = selected( $default, $templates[ $template ], false ); 772 echo "\n\t<option value='" . $templates[ $template ] . "' $selected>$template</option>";772 echo "\n\t<option value='" . esc_attr( $templates[ $template ] ) . "' $selected>" . esc_html( $template ) . "</option>"; 773 773 } 774 774 }
Note: See TracChangeset
for help on using the changeset viewer.