WordPress.org

Make WordPress Core

Changeset 5944


Ignore:
Timestamp:
08/26/07 17:12:31 (7 years ago)
Author:
ryan
Message:

Add missing global and remove unused var. Props JeremyVisser. fixes #4818

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r5912 r5944  
    699699 
    700700function the_date($d='', $before='', $after='', $echo = true) { 
    701     global $id, $post, $day, $previousday, $newday; 
     701    global $id, $post, $day, $previousday; 
    702702    $the_date = ''; 
    703703    if ( $day != $previousday ) { 
  • trunk/wp-includes/query.php

    r5925 r5944  
    13901390// Setup global post data. 
    13911391function setup_postdata($post) { 
    1392     global $id, $postdata, $authordata, $day, $page, $pages, $multipage, $more, $numpages, $wp_query; 
     1392    global $id, $postdata, $authordata, $day, $currentmonth, $page, $pages, $multipage, $more, $numpages, $wp_query; 
    13931393    global $pagenow; 
    13941394 
Note: See TracChangeset for help on using the changeset viewer.