- Timestamp:
- 09/19/2017 07:38:21 AM (6 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
-
branches/4.8/src/wp-includes/widgets/class-wp-widget-text.php
r41135 r41391 116 116 117 117 $doc = new DOMDocument(); 118 $doc->loadHTML( sprintf(119 '< html><head><meta charset="%s"></head><body>%s</body></html>',118 @$doc->loadHTML( sprintf( 119 '<!DOCTYPE html><html><head><meta charset="%s"></head><body>%s</body></html>', 120 120 esc_attr( get_bloginfo( 'charset' ) ), 121 121 $instance['text']
Note: See TracChangeset
for help on using the changeset viewer.