Ticket #34866: 34866.patch
| File 34866.patch, 1.5 KB (added by , 11 years ago) |
|---|
-
wp-includes/class-wp-editor.php
262 262 * @since 2.1.0 263 263 * 264 264 * @param string $content Default editor content. 265 * @param string $default_editor Default enabled editor for current user. 266 * Expects 'html' or 'tinymce'. If TinyMCE is disabled 267 * this filter will always receive 'html', regardless of settings 268 * passed to the editor(). 265 269 */ 266 270 $content = apply_filters( 'the_editor_content', $content, $default_editor ); 267 271 -
wp-includes/formatting.php
3286 3286 * @since 4.3.0 3287 3287 * 3288 3288 * @param string $text The text to be formatted. 3289 * @param string $default_editor The default editor for the current user. It is usually either 3290 * 'html' or 'tinymce'. 3291 * 3292 * @see _WP_Editors()::editor() 3293 * 3289 3294 * @return string The formatted text after filter is applied. 3290 3295 */ 3291 3296 function format_for_editor( $text, $default_editor = null ) { … … 3299 3304 * @since 4.3.0 3300 3305 * 3301 3306 * @param string $text The formatted text. 3307 * @param string $default_editor The default editor for the current user. 3302 3308 */ 3303 3309 return apply_filters( 'format_for_editor', $text, $default_editor ); 3304 3310 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)