[wp-trac] [WordPress Trac] #30085: get_lastpostmodified() is not affected by post meta

WordPress Trac noreply at wordpress.org
Fri Oct 31 05:15:37 UTC 2014


#30085: get_lastpostmodified() is not affected by post meta
-------------------------------+------------------------------
 Reporter:  wonderboymusic     |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:
-------------------------------+------------------------------

Comment (by rmccue):

 Just to note: we're going to remove the `Last-Modified` header completely
 here, because we can't make assertions about it when we don't really know.
 That said, adding this wouldn't mean we could add it back, as there are
 other objects.

 There's also a possible privacy concern by leaking when meta was updated
 via the post update time, as it could happen even for non-visible meta.

 That said, I don't think it's a bad idea to add a method to do this. We've
 run into it a few times with other projects.

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


More information about the wp-trac mailing list