trackback_rdf

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

WordPress Version: 5.7

/**
 * Generates and displays the RDF for the trackback information of current post.
 *
 * Deprecated in 3.0.0, and restored in 3.0.1.
 *
 * @since 0.71
 *
 * @param int|string $deprecated Not used (Was $timezone = 0).
 */
function trackback_rdf($deprecated = '')
{
    if (!empty($deprecated)) {
        _deprecated_argument(__FUNCTION__, '2.5.0');
    }
    if (isset($_SERVER['HTTP_USER_AGENT']) && false !== stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator')) {
        return;
    }
    echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			xmlns:dc="http://purl.org/dc/elements/1.1/"
			xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
		<rdf:Description rdf:about="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:identifier="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:title="' . str_replace('--', '&#x2d;&#x2d;', wptexturize(strip_tags(get_the_title()))) . '"' . "\n";
    echo '    trackback:ping="' . get_trackback_url() . '"' . " />\n";
    echo '</rdf:RDF>';
}

WordPress Version: 5.4

/**
 * Generates and displays the RDF for the trackback information of current post.
 *
 * Deprecated in 3.0.0, and restored in 3.0.1.
 *
 * @since 0.71
 *
 * @param int $deprecated Not used (Was $timezone = 0).
 */
function trackback_rdf($deprecated = '')
{
    if (!empty($deprecated)) {
        _deprecated_argument(__FUNCTION__, '2.5.0');
    }
    if (isset($_SERVER['HTTP_USER_AGENT']) && false !== stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator')) {
        return;
    }
    echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			xmlns:dc="http://purl.org/dc/elements/1.1/"
			xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
		<rdf:Description rdf:about="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:identifier="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:title="' . str_replace('--', '&#x2d;&#x2d;', wptexturize(strip_tags(get_the_title()))) . '"' . "\n";
    echo '    trackback:ping="' . get_trackback_url() . '"' . " />\n";
    echo '</rdf:RDF>';
}

WordPress Version: 4.6

/**
 * Generate and display the RDF for the trackback information of current post.
 *
 * Deprecated in 3.0.0, and restored in 3.0.1.
 *
 * @since 0.71
 *
 * @param int $deprecated Not used (Was $timezone = 0).
 */
function trackback_rdf($deprecated = '')
{
    if (!empty($deprecated)) {
        _deprecated_argument(__FUNCTION__, '2.5.0');
    }
    if (isset($_SERVER['HTTP_USER_AGENT']) && false !== stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator')) {
        return;
    }
    echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			xmlns:dc="http://purl.org/dc/elements/1.1/"
			xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
		<rdf:Description rdf:about="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:identifier="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:title="' . str_replace('--', '&#x2d;&#x2d;', wptexturize(strip_tags(get_the_title()))) . '"' . "\n";
    echo '    trackback:ping="' . get_trackback_url() . '"' . " />\n";
    echo '</rdf:RDF>';
}

WordPress Version: 3.9

/**
 * Generate and display the RDF for the trackback information of current post.
 *
 * Deprecated in 3.0.0, and restored in 3.0.1.
 *
 * @since 0.71
 *
 * @param int $deprecated Not used (Was $timezone = 0).
 */
function trackback_rdf($deprecated = '')
{
    if (!empty($deprecated)) {
        _deprecated_argument(__FUNCTION__, '2.5');
    }
    if (isset($_SERVER['HTTP_USER_AGENT']) && false !== stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator')) {
        return;
    }
    echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			xmlns:dc="http://purl.org/dc/elements/1.1/"
			xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
		<rdf:Description rdf:about="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:identifier="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:title="' . str_replace('--', '&#x2d;&#x2d;', wptexturize(strip_tags(get_the_title()))) . '"' . "\n";
    echo '    trackback:ping="' . get_trackback_url() . '"' . " />\n";
    echo '</rdf:RDF>';
}

WordPress Version: 3.7

/**
 * Generate and display the RDF for the trackback information of current post.
 *
 * Deprecated in 3.0.0, and restored in 3.0.1.
 *
 * @since 0.71
 *
 * @param int $deprecated Not used (Was $timezone = 0).
 */
function trackback_rdf($deprecated = '')
{
    if (!empty($deprecated)) {
        _deprecated_argument(__FUNCTION__, '2.5');
    }
    if (false !== stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator')) {
        return;
    }
    echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
			xmlns:dc="http://purl.org/dc/elements/1.1/"
			xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
		<rdf:Description rdf:about="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:identifier="';
    the_permalink();
    echo '"' . "\n";
    echo '    dc:title="' . str_replace('--', '&#x2d;&#x2d;', wptexturize(strip_tags(get_the_title()))) . '"' . "\n";
    echo '    trackback:ping="' . get_trackback_url() . '"' . " />\n";
    echo '</rdf:RDF>';
}