[wp-trac] [WordPress Trac] #36526: Not needed postmeta saved when restoring post revision

WordPress Trac noreply at wordpress.org
Thu Apr 14 10:25:40 UTC 2016


#36526: Not needed postmeta saved when restoring post revision
--------------------------+-----------------------------
 Reporter:  pavelevap     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Revisions     |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 WordPress stores postmeta `_post_restored_from` when user restores some
 revision, but this is never used throughout core? I did not find any
 notice, that this postmeta is used somewhere and only database is bloated?

 https://core.trac.wordpress.org/browser/tags/4.5/src/wp-
 includes/revision.php#L387

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36526>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list