[wp-trac] [WordPress Trac] #59931: PHPunit test for _wp_mysql_week()
WordPress Trac
noreply at wordpress.org
Fri Nov 17 21:28:04 UTC 2023
#59931: PHPunit test for _wp_mysql_week()
--------------------------------------+------------------------------
Reporter: pbearne | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by pbearne):
I have the test for this function as it is
But I am confused why we use DATE_SUB function and not just return the 2
to 6 as the 2nd parm of the week function?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59931#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list