mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Mark _search_terms_tidy() as deprecated in 3.7. see #7394.
git-svn-id: https://develop.svn.wordpress.org/trunk@25640 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 " );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user