Clean up deprecated format_to_post() docs. see #27700.

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


git-svn-id: http://core.svn.wordpress.org/trunk@27851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-04-07 22:23:14 +00:00
parent 4f818f51a9
commit 68298460d4
1 changed files with 2 additions and 4 deletions

View File

@ -3424,14 +3424,12 @@ function default_topic_count_text( $count ) {
} }
/** /**
* Formerly used to escape strings before INSERTing into the DB. * Formerly used to escape strings before inserting into the DB.
* *
* Has not performed this function for many, many years. * Has not performed this function for many, many years. Use wpdb::prepare() instead.
* *
* @since 0.71 * @since 0.71
* @deprecated 3.9.0 * @deprecated 3.9.0
* @deprecated Original intent was to add slashes to POSTed data, use
* $wpdb::prepare() instead
* *
* @param string $content The text to format. * @param string $content The text to format.
* @return string The very same text. * @return string The very same text.