[wp-trac] [WordPress Trac] #60266: get_the_modified_date function doesn't return the date for newly published posts

WordPress Trac noreply at wordpress.org
Tue Jan 16 21:06:29 UTC 2024


#60266: get_the_modified_date function doesn't return the date for newly published
posts
--------------------------+------------------------------
 Reporter:  bugnumber9    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by benniledl):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 Hey!
 Please double check if you are experiencing the same behavior on a clean
 WordPress installation. I tried it with 6.4.2 and it works as you
 described. It returns the value from the database even tho creation and
 modification date are the same.
 Maybe a plugin is altering the behavior or do you have a different
 WordPress version installed?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60266#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list