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

Props rabmalin.
See #41121. Fixes #40709.


git-svn-id: https://develop.svn.wordpress.org/trunk@40949 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2017-06-25 22:09:18 +00:00
parent 704731b9d3
commit 4a248fa9c2
1 changed files with 2 additions and 1 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.