_search_terms_tidy

The timeline below displays how wordpress function _search_terms_tidy has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.6

/**
 * Formerly used internally to tidy up the search terms.
 *
 * @since 2.9.0
 * @access private
 * @deprecated 3.7.0
 *
 * @param string $t Search terms to "tidy", e.g. trim.
 * @return string Trimmed search terms.
 */
function _search_terms_tidy($t)
{
    _deprecated_function(__FUNCTION__, '3.7.0');
    return trim($t, "\"'\n\r ");
}

WordPress Version: 4.5

/**
 * Formerly used internally to tidy up the search terms.
 *
 * @since 2.9.0
 * @access private
 * @deprecated 3.7.0
 *
 * @param string $t Search terms to "tidy", e.g. trim.
 * @return string Trimmed search terms.
 */
function _search_terms_tidy($t)
{
    _deprecated_function(__FUNCTION__, '3.7');
    return trim($t, "\"'\n\r ");
}

WordPress Version: 4.4

/**
 * Formerly used internally to tidy up the search terms.
 *
 * @since 2.9.0
 * @access private
 * @deprecated 3.7.0
 */
function _search_terms_tidy($t)
{
    _deprecated_function(__FUNCTION__, '3.7');
    return trim($t, "\"'\n\r ");
}

WordPress Version: 3.7

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