[wp-trac] [WordPress Trac] #10397: Start of week and WEEK mysql date function

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 26 01:25:26 UTC 2009


#10397: Start of week and WEEK mysql date function
-------------------------------------+--------------------------------------
 Reporter:  arena                    |        Type:  defect (bug)
   Status:  new                      |    Priority:  normal      
Milestone:  3.0                      |   Component:  Date/Time   
  Version:  2.9                      |    Severity:  major       
 Keywords:  needs-patch dev-feedack  |  
-------------------------------------+--------------------------------------
Changes (by dd32):

  * severity:  critical => major
  * milestone:  2.9.1 => 3.0


Comment:

 I'm changing the milestone of this to 3.0, This code has been exactly the
 same since 2.1(earliest the file exists) so its not a regression.

 The prepare()'s can be done at the same time, Since they're not using
 user-provided data (Rather, administrative options), I feel that this is
 not a change required in the maintainence release - I'll leave that open
 for a core dev to determine however.

 {{{'start_of_week'}}} does however need to have a {{{intval()}}} applied
 to it on the sanitization list.. I'm going to create a new ticket for that
 - See #11623

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10397#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list