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
This commit is contained in:
Andrew Nacin 2013-09-28 08:25:09 +00:00
parent b54d15d568
commit 5111c26a01
1 changed files with 12 additions and 12 deletions

View File

@ -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 " );
}