trackback_rdf( int $deprecated = '' )
Generate and display the RDF for the trackback information of current post.
Description Description
Deprecated in 3.0.0, and restored in 3.0.1.
Parameters Parameters
- $deprecated
-
(int) (Optional) Not used (Was $timezone = 0).
Default value: ''
Source Source
File: wp-includes/comment-template.php
1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 | 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 ; } <rdf:Description rdf:about="'; the_permalink(); echo '"' . "\n"; echo ' dc:identifier="' ; the_permalink(); echo '"' . "\n"; echo ' dc:title="' . str_replace ( '--' , '--' , wptexturize( strip_tags ( get_the_title() ) ) ) . '"' . "\n" ; echo ' trackback:ping="' . get_trackback_url() . '"' . " />\n" ; echo '</rdf:RDF>' ; } |
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
0.71 | Introduced. |