Changeset 6364 for trunk/wp-includes/comment-template.php
- Timestamp:
- 12/06/2007 07:49:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r6173 r6364 39 39 40 40 function get_comment_author_link() { 41 global $comment;42 41 $url = get_comment_author_url(); 43 42 $author = get_comment_author(); … … 73 72 74 73 function get_comment_author_url_link( $linktext = '', $before = '', $after = '' ) { 75 global $comment;76 74 $url = get_comment_author_url(); 77 75 $display = ($linktext != '') ? $linktext : $url; … … 147 145 148 146 function get_comments_number( $post_id = 0 ) { 149 global $wpdb, $id;150 147 $post_id = (int) $post_id; 151 148 … … 238 235 239 236 function trackback_rdf($timezone = 0) { 240 global $id;241 237 if (stripos($_SERVER['HTTP_USER_AGENT'], 'W3C_Validator') === false) { 242 238 echo '<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" … … 310 306 311 307 function comments_popup_script($width=400, $height=400, $file='') { 312 global $wpcommentspopupfile, $wp trackbackpopupfile, $wppingbackpopupfile, $wpcommentsjavascript;308 global $wpcommentspopupfile, $wpcommentsjavascript; 313 309 314 310 if (empty ($file)) { … … 324 320 325 321 function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off') { 326 global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post , $wpdb;322 global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post; 327 323 328 324 if ( is_single() || is_page() )
Note: See TracChangeset
for help on using the changeset viewer.