[wp-trac] [WordPress Trac] #25416: "Preview Changes" throws a PHP Notice and Warning every second use

WordPress Trac noreply at wordpress.org
Mon Mar 24 20:31:52 UTC 2014


#25416: "Preview Changes" throws a PHP Notice and Warning every second use
------------------------------+-----------------------------
 Reporter:  crysman           |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.9
Component:  Autosave          |     Version:  3.6
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27690"]:
 {{{
 #!CommitTicketReference repository="" revision="27690"
 In `wp_create_post_autosave()`, intersect the `$new_autosave`'s keys with
 the keys from `_wp_post_revision_fields()` to ensure that all expected
 fields are present.

 Props kovshenin.
 Fixes #25416.
 }}}

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


More information about the wp-trac mailing list