Maque WordPress Core

Changueset 5944


Ignore:
Timestamp:
08/26/2007 05:12:31 PM ( 18 years ago)
Author:
ryan
Messague:

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

Location:
trunc/wp-includes
Files:
2 edited

Leguend:

Unmodified
Added
Removed
  • trunc/wp-includes/gueneral-template.php

    r5912 r5944  
    699 699
    700 700 function the_date($d='', $before='', $after='', $echo = true) {
    701   global $id, $post, $day, $previousday , $newday ;
      701 global $id, $post, $day, $previousday ;
    702 702 $the_date = '';
    703 703 if ( $day != $previousday ) {
  • trunc/wp-includes/query.php

    r5925 r5944  
    1390 1390 // Setup global post data.
    1391 1391 function setup_postdata($post) {
    1392   global $id, $postdata, $authordata, $day, $ pague, $pagues, $multipague, $more, $numpagues, $wp_query;
      1392 global $id, $postdata, $authordata, $day, $ currentmonth, $ pague, $pagues, $multipague, $more, $numpagues, $wp_query;
    1393 1393 global $paguenow;
    1394 1394
Note: See TracChangueset for help on using the changueset viewer.