[wp-trac] [WordPress Trac] #13493: Make the_date() and is_new_day work properly
WordPress Trac
wp-trac at lists.automattic.com
Mon May 24 14:08:02 UTC 2010
#13493: Make the_date() and is_new_day work properly
-----------------------------+----------------------------------------------
Reporter: banago | Owner: Otto
Type: feature request | Status: new
Priority: normal | Milestone: 3.1
Component: Template | Version:
Severity: normal | Keywords: has-patch reporter-feedback
-----------------------------+----------------------------------------------
Comment(by banago):
Replying to [comment:5 filosofo]:
> Getting `the_date();` to change its behavior to do so is unnecessary,
and it's unlikely to win support since it would upset the default behavior
of many themes.
I agree with deprecating is_new_day(). However, being a theme developer I
would disagree with your assumption about the_date() not getting support
for changing default behavior. The is because, I get mad every time
the_date() hides me dates and than I end up using the_time() to show it
every time. Also, many developers, me included, when not developing with
text that has posts in the same date, will use the_date() and will end up
producing buggy code as the client is expecting the function to show the
date of every post of the same day.
So, even though the historical behavior is such, it is a buggy feature -
if I can put it like that - and needs to be fixed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13493#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list