Fix inline documentation syntax for two formatting functions added in 4.3.

* `wptexturize_primes()` See [32863]
* `format_for_editor()` See [32899]

See #32891.


git-svn-id: https://develop.svn.wordpress.org/trunk@33225 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-07-13 21:29:35 +00:00
parent 8287ff9dbc
commit a38797967a
1 changed files with 7 additions and 6 deletions

View File

@ -322,10 +322,11 @@ function wptexturize( $text, $reset = false ) {
*
* @since 4.3.0
*
* @param string $haystack The plain text to be searched.
* @param string $needle The character to search for such as ' or ".
* @param string $prime The prime char to use for replacement.
* @param string $open_quote The opening quote char. Opening quote replacement must be accomplished already.
* @param string $haystack The plain text to be searched.
* @param string $needle The character to search for such as ' or ".
* @param string $prime The prime char to use for replacement.
* @param string $open_quote The opening quote char. Opening quote replacement must be
* accomplished already.
* @param string $close_quote The closing quote char to use for replacement.
* @return string The $haystack value after primes and quotes replacements.
*/
@ -3078,8 +3079,8 @@ function ent2ncr( $text ) {
* Generally the browsers treat everything inside a textarea as text, but
* it is still a good idea to HTML entity encode `<`, `>` and `&` in the content.
*
* The filter 'format_for_editor' is applied here. If $text is empty the filter will
* be applied to an empty string.
* The filter {@see 'format_for_editor'} is applied here. If `$text` is empty the
* filter will be applied to an empty string.
*
* @since 4.3.0
*