Changeset 33187 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 07/13/2015 03:18:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r33127 r33187 252 252 'id="' . $editor_id_attr . '">%s</textarea></div>' ); 253 253 254 // Prepare the content for the Visual or Text editor 255 if ( self::$this_tinymce ) { 256 add_filter( 'the_editor_content', 'format_for_editor', 10, 2 ); 257 } 258 254 259 /** 255 260 * Filter the default editor content. … … 269 274 _deprecated_function( 'add_filter( richedit_pre )', '4.3.0', 'add_filter( format_for_editor )' ); 270 275 $content = apply_filters( 'richedit_pre', $content ); 276 } 277 278 if ( false !== stripos( $content, 'textarea' ) ) { 279 $content = preg_replace( '%</textarea%i', '</textarea', $content ); 271 280 } 272 281
Note: See TracChangeset
for help on using the changeset viewer.