Docs: Notate `format_for_editor()` as the replacement function in the DocBlock for the deprecated `wp_richedit_pre()`.

Props rabmalin.
See #41121. Fixes #40709.

Built from https://develop.svn.wordpress.org/trunk@40949


git-svn-id: http://core.svn.wordpress.org/trunk@40799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2017-06-25 22:10:41 +00:00
parent 07f01a2e10
commit 75acd01f98
2 changed files with 3 additions and 2 deletions

View File

@ -3533,7 +3533,8 @@ function preview_theme_ob_filter_callback( $matches ) {
* be applied to an empty string.
*
* @since 2.0.0
* @deprecated 4.3.0
* @deprecated 4.3.0 Use format_for_editor()
* @see format_for_editor()
*
* @param string $text The text to be formatted.
* @return string The formatted text after filter is applied.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9-alpha-40948';
$wp_version = '4.9-alpha-40949';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.