From 3c295f3a59e92c722b8083b7a9f4a3d32ce7421c Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sun, 4 Apr 2010 10:04:56 +0000 Subject: [PATCH] Deprecate trackback_rdf(). fixes #11139 git-svn-id: https://develop.svn.wordpress.org/trunk@13991 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-template.php | 27 --------------------------- wp-includes/deprecated.php | 13 +++++++++++++ 2 files changed, 13 insertions(+), 27 deletions(-) diff --git a/wp-includes/comment-template.php b/wp-includes/comment-template.php index f12e27388a..3a27a2b030 100644 --- a/wp-includes/comment-template.php +++ b/wp-includes/comment-template.php @@ -735,33 +735,6 @@ function trackback_url( $deprecated_echo = true ) { return get_trackback_url(); } -/** - * Generates and displays the RDF for the trackback information of current post. - * - * @since 0.71 - * - * @param int $deprecated Not used (Was $timezone = 0) - */ -function trackback_rdf($deprecated = '') { - if ( !empty( $deprecated ) ) - _deprecated_argument( __FUNCTION__, '2.5' ); - - if (stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') === false) { - echo ' - \n"; - echo ''; - } -} - /** * Whether the current post is open for comments. * diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index a4c3b9307a..146dbaa0f3 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -2500,3 +2500,16 @@ function funky_javascript_fix($text) { return $text; } + +/** + * Generates and displays the RDF for the trackback information of current post. + * + * @since 0.71 + * @deprecated 3.0.0 + * + * @param int $deprecated Not used (Was $timezone = 0) + */ +function trackback_rdf($deprecated = '') { + _deprecated_function( __FUNCTION__, '3.0' ); + return ''; +}