Changeset 13991
- Timestamp:
- 04/04/2010 10:04:56 AM (13 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r13939 r13991 734 734 else 735 735 return get_trackback_url(); 736 }737 738 /**739 * Generates and displays the RDF for the trackback information of current post.740 *741 * @since 0.71742 *743 * @param int $deprecated Not used (Was $timezone = 0)744 */745 function trackback_rdf($deprecated = '') {746 if ( !empty( $deprecated ) )747 _deprecated_argument( __FUNCTION__, '2.5' );748 749 if (stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') === false) {750 echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"751 xmlns:dc="http://purl.org/dc/elements/1.1/"752 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">753 <rdf:Description rdf:about="';754 the_permalink();755 echo '"'."\n";756 echo ' dc:identifier="';757 the_permalink();758 echo '"'."\n";759 echo ' dc:title="'.str_replace('--', '--', wptexturize(strip_tags(get_the_title()))).'"'."\n";760 echo ' trackback:ping="'.get_trackback_url().'"'." />\n";761 echo '</rdf:RDF>';762 }763 736 } 764 737 -
trunk/wp-includes/deprecated.php
r13988 r13991 2501 2501 return $text; 2502 2502 } 2503 2504 /** 2505 * Generates and displays the RDF for the trackback information of current post. 2506 * 2507 * @since 0.71 2508 * @deprecated 3.0.0 2509 * 2510 * @param int $deprecated Not used (Was $timezone = 0) 2511 */ 2512 function trackback_rdf($deprecated = '') { 2513 _deprecated_function( __FUNCTION__, '3.0' ); 2514 return ''; 2515 }
Note: See TracChangeset
for help on using the changeset viewer.