mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-30 20:21:37 +01:00
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:
parent
b54d15d568
commit
5111c26a01
@ -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 " );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user