Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54132, comment 1


Ignore:
Timestamp:
09/18/2021 05:46:06 AM (3 years ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54132, comment 1

    initial v1  
    44{{{
    55$pad = calendar_week_mod( gmdate( 'w', $unixmonth ) - $week_begins );
    6 ...
     6}}}
     7{{{
    78if ( 6 == calendar_week_mod( gmdate( 'w', mktime( 0, 0, 0, $thismonth, $day, $thisyear ) ) - $week_begins ) ) {
    8 ...
     9}}}
     10{{{
    911$pad = 7 - calendar_week_mod( gmdate( 'w', mktime( 0, 0, 0, $thismonth, $day, $thisyear ) ) - $week_begins );
    1012}}}