Changeset 6767
- Timestamp:
- 02/09/2008 07:29:36 AM (17 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r6726 r6767 1112 1112 } 1113 1113 1114 function wp_htmledit_pre($output) { 1115 if ( !empty($output) ) 1116 $output = htmlspecialchars($output, ENT_NOQUOTES); // convert only < > & 1117 1118 return apply_filters('htmledit_pre', $output); 1119 } 1120 1114 1121 function clean_url( $url, $protocols = null, $context = 'display' ) { 1115 1122 $original_url = $url; -
trunk/wp-includes/general-template.php
r6746 r6767 933 933 if ( 'tinymce' == $wp_default_editor ) 934 934 add_filter('the_editor_content', 'wp_richedit_pre'); 935 else if ( 'html' == $wp_default_editor ) 936 add_filter('the_editor_content', 'wp_htmledit_pre'); 935 937 936 938 // The following line moves the border so that the active button "attaches" to the toolbar. Only IE needs it.
Note: See TracChangeset
for help on using the changeset viewer.