[wp-trac] [WordPress Trac] #5292: get_lastpostdate, get_lastpostmodified filters don't pass enough parameters

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 31 03:29:18 GMT 2007


#5292: get_lastpostdate, get_lastpostmodified filters don't pass enough parameters
----------------------+-----------------------------------------------------
 Reporter:  mdawaffe  |       Owner:  anonymous            
     Type:  defect    |      Status:  new                  
 Priority:  normal    |   Milestone:  2.4                  
Component:  General   |     Version:                       
 Severity:  normal    |    Keywords:  has-patch 2nd-opinion
----------------------+-----------------------------------------------------
 {{{get_lastpostdate()}}} and {{{get_lastpostmodified()}}} both accept a
 timezone parameter and filter their respective results.

 However, the filter doesn't know how the timezone parameter was specified
 and so can't know how to modify the return value.  Though core only uses a
 timezone value of 'GMT', it'd still be nice to know for sure what timezone
 is being requested when using these filters.

 Attached adds the timezone parameter to those filters.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5292>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list