WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/24/2015 03:33:21 AM (5 years ago)
Author:
wonderboymusic
Message:

Date/Time: Add unit tests for the_date().

Props jubstuff.
Fixes #33750.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r34463 r34474  
    18991899    global $currentday, $previousday;
    19001900
    1901     if ( $currentday != $previousday ) {
     1901    if ( is_new_day() ) {
    19021902        $the_date = $before . get_the_date( $d ) . $after;
    19031903        $previousday = $currentday;
Note: See TracChangeset for help on using the changeset viewer.