/**
 * Retrieve a post's terms, comma delimited.
 *
 * @deprecated 1.5.4
 * @deprecated use YMBESEO_Replace_Vars::get_terms()
 * @see        YMBESEO_Replace_Vars::get_terms()
 *
 * @param int    $id            ID of the post to get the terms for.
 * @param string $taxonomy      The taxonomy to get the terms for this post from.
 * @param bool   $return_single If true, return the first term.
 *
 * @return string either a single term or a comma delimited string of terms.
 */
function YMBESEO_get_terms($id, $taxonomy, $return_single = false)
{
    _deprecated_function(__FUNCTION__, 'WPSEO 1.5.4', 'YMBESEO_Replace_Vars::get_terms()');
    $replacer = new YMBESEO_Replace_Vars();
    return $replacer->get_terms($id, $taxonomy, $return_single);
}