[wp-trac] Re: [WordPress Trac] #4818: $newday global declaration is unnecessary, and $currentmonth not global'ed

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 26 12:34:39 GMT 2007


#4818: $newday global declaration is unnecessary, and $currentmonth not global'ed
--------------------------+-------------------------------------------------
 Reporter:  JeremyVisser  |        Owner:  anonymous
     Type:  defect        |       Status:  new      
 Priority:  low           |    Milestone:  2.3      
Component:  Template      |      Version:  2.3      
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by JeremyVisser):

  * severity:  trivial => normal
  * summary:  $newday global declaration is unnecessary => $newday global
              declaration is unnecessary, and $currentmonth
              not global'ed

Comment:

 In addition, {{{$currentmonth}}} is set in {{{setup_postdate()}}} in
 {{{wp-includes/query.php}}}, but never global'ed.

 (It was preventing me from creating a custom {{{the_month()}}} function
 like {{{the_date()}}}, making this ticket slightly more serious.)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4818#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list