diff --git src/wp-includes/class-wp-editor.php src/wp-includes/class-wp-editor.php
index a6504d4..ee877a3 100644
|
|
|
final class _WP_Editors {
|
| 261 | 261 | * |
| 262 | 262 | * @since 2.1.0 |
| 263 | 263 | * |
| 264 | | * @param string $content Default editor content. |
| | 264 | * @param string $content Default editor content. |
| | 265 | * @param string $default_editor The default editor for the current user. |
| | 266 | * Either 'html' or 'tinymce'. |
| 265 | 267 | */ |
| 266 | 268 | $content = apply_filters( 'the_editor_content', $content, $default_editor ); |
| 267 | 269 | |
diff --git src/wp-includes/formatting.php src/wp-includes/formatting.php
index b9383f5..91690d8 100644
|
|
|
function ent2ncr( $text ) {
|
| 3268 | 3268 | * |
| 3269 | 3269 | * @since 4.3.0 |
| 3270 | 3270 | * |
| 3271 | | * @param string $text The text to be formatted. |
| | 3271 | * @see _WP_Editors::editor() |
| | 3272 | * |
| | 3273 | * @param string $text The text to be formatted. |
| | 3274 | * @param string $default_editor The default editor for the current user. |
| | 3275 | * It is usually either 'html' or 'tinymce'. |
| 3272 | 3276 | * @return string The formatted text after filter is applied. |
| 3273 | 3277 | */ |
| 3274 | 3278 | function format_for_editor( $text, $default_editor = null ) { |
| … |
… |
function format_for_editor( $text, $default_editor = null ) {
|
| 3281 | 3285 | * |
| 3282 | 3286 | * @since 4.3.0 |
| 3283 | 3287 | * |
| 3284 | | * @param string $text The formatted text. |
| | 3288 | * @param string $text The formatted text. |
| | 3289 | * @param string $default_editor The default editor for the current user. |
| | 3290 | * It is usually either 'html' or 'tinymce'. |
| 3285 | 3291 | */ |
| 3286 | 3292 | return apply_filters( 'format_for_editor', $text, $default_editor ); |
| 3287 | 3293 | } |