Make WordPress Core

Changeset 28588


Ignore:
Timestamp:
05/27/2014 11:40:11 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Update documentation for is_new_day().

props obenland.
fixes #28333.

File:
1 edited

Legend:

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

    r28542 r28588  
    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.
Note: See TracChangeset for help on using the changeset viewer.