From 5111c26a01c64dbd2f51ebb6e1e1f9e191fc4d46 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 28 Sep 2013 08:25:09 +0000 Subject: [PATCH] Mark _search_terms_tidy() as deprecated in 3.7. see #7394. Built from https://develop.svn.wordpress.org/trunk@25640 git-svn-id: http://core.svn.wordpress.org/trunk@25557 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 90b2ccc69b..44bd316fc3 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -3316,18 +3316,6 @@ function user_pass_ok($user_login, $user_pass) { */ function _save_post_hook() {} -/** - * Formerly used internally to tidy up the search terms. - * - * @access private - * @since 2.9.0 - * @deprecated 3.7.0 - */ -function _search_terms_tidy( $t ) { - _deprecated_function( __FUNCTION__, '3.5', '' ); - return trim( $t, "\"'\n\r " ); -} - /** * Check if the installed version of GD supports particular image type * @@ -3390,3 +3378,15 @@ function wp_convert_bytes_to_hr( $bytes ) { return $size . $unit; } + +/** + * Formerly used internally to tidy up the search terms. + * + * @access private + * @since 2.9.0 + * @deprecated 3.7.0 + */ +function _search_terms_tidy( $t ) { + _deprecated_function( __FUNCTION__, '3.7' ); + return trim( $t, "\"'\n\r " ); +}