[wp-trac] [WordPress Trac] #24266: update_post_meta doesn't change post modified date

WordPress Trac noreply at wordpress.org
Sun Feb 12 23:49:48 UTC 2017


#24266: update_post_meta doesn't change post modified date
-------------------------------------------------+-------------------------
 Reporter:  DennisSmolek                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Options, Meta APIs                   |  Release
 Severity:  normal                               |     Version:  3.5.1
 Keywords:  has-patch has-unit-tests 2nd-        |  Resolution:
  opinion close                                  |     Focuses:
-------------------------------------------------+-------------------------
Changes (by chriscct7):

 * keywords:  has-patch has-unit-tests 2nd-opinion => has-patch has-unit-
     tests 2nd-opinion close


Comment:

 This could cause a lot of unexpected things to occur. Many sites use the
 post modified field to show when the last ''public'' changes to post have
 occured, but a lot of plugins use meta for non-public internal things.
 Maybe limit the post modified change to only meta registered explicitly as
 public? Even still, I think this is better off as close as wontfix

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


More information about the wp-trac mailing list