From 9bb79a1a97813ed5c5a458854059c077e953e9bc Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 7 Apr 2014 22:23:00 +0000 Subject: [PATCH] Clean up deprecated format_to_post() docs. see #27700. git-svn-id: https://develop.svn.wordpress.org/trunk@28021 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/deprecated.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php index 019685beb6..43cf743b77 100644 --- a/src/wp-includes/deprecated.php +++ b/src/wp-includes/deprecated.php @@ -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 * @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. * @return string The very same text.