Changeset 6364 for trunk/wp-includes/post-template.php
- Timestamp:
- 12/06/2007 07:49:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r6228 r6364 82 82 83 83 function get_the_content($more_link_text = '(more...)', $stripteaser = 0, $more_file = '') { 84 global $id, $post, $more, $single, $withcomments, $page, $pages, $multipage, $numpages; 85 global $preview; 86 global $pagenow; 84 global $id, $post, $more, $page, $pages, $multipage, $preview, $pagenow; 85 87 86 $output = ''; 88 87 … … 138 137 139 138 140 function get_the_excerpt($deprecated = true) {141 global $ id, $post;139 function get_the_excerpt($deprecated = '') { 140 global $post; 142 141 $output = ''; 143 142 $output = $post->post_excerpt; … … 168 167 extract( $r, EXTR_SKIP ); 169 168 170 global $post, $ id, $page, $numpages, $multipage, $more, $pagenow;169 global $post, $page, $numpages, $multipage, $more, $pagenow; 171 170 if ( $more_file != '' ) 172 171 $file = $more_file; … … 250 249 // this will probably change at some point... 251 250 function the_meta() { 252 global $id;253 254 251 if ( $keys = get_post_custom_keys() ) { 255 252 echo "<ul class='post-meta'>\n"; … … 386 383 if ( !$post = & get_post($id) ) 387 384 return false; 388 389 $imagedata = wp_get_attachment_metadata( $post->ID );390 385 391 386 $file = get_attached_file( $post->ID );
Note: See TracChangeset
for help on using the changeset viewer.