[wp-hackers] Is today a new day?! - is_new_day()

Austin Matzko austin at ilfilosofo.com
Thu May 20 16:20:34 UTC 2010


On Thu, May 20, 2010 at 11:17 AM, John Blackbourn
<johnbillion+wp at gmail.com> wrote:
> It's worth noting that is_new_day() doesn't actually work as expected
> in a default loop. Possibly a bug. It's not used anywhere in core
> though.

You have to have already used the_date() in the Loop.

I think we should deprecate it.  It's a vestige from the bad old days.


More information about the wp-hackers mailing list