Make WordPress Core

Ticket #28333: 28333.diff

File 28333.diff, 687 bytes (added by obenland, 11 years ago)
  • src/wp-includes/functions.php

     
    605605}
    606606
    607607/**
    608  * Whether today is a new day.
     608 * Whether the publish date of the current post in the loop is different from the
     609 * publish date of the previous post in the loop.
    609610 *
    610611 * @since 0.71
    611  * @uses $day Today
    612  * @uses $previousday Previous day
     612 * @global string $currentday The day of the current post in the loop.
     613 * @global string $previousday The day of the previous post in the loop.
    613614 *
    614615 * @return int 1 when new day, 0 if not a new day.
    615616 */