[wp-trac] [WordPress Trac] #41396: set_post_format: inconsistency between edit_post and bulk_edit_posts

WordPress Trac noreply at wordpress.org
Sun Jul 30 14:40:44 UTC 2017


#41396: set_post_format: inconsistency between edit_post and bulk_edit_posts
------------------------------+-----------------------------
 Reporter:  Chouby            |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.9
Component:  Post Formats      |     Version:  3.3
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"41187"]:
 {{{
 #!CommitTicketReference repository="" revision="41187"
 Post Formats: In `bulk_edit_posts()`, set post format before the post is
 updated, for consistency with `edit_post()`.

 This makes sure that plugins hooked to `save_post` get the right post
 format.

 Props Chouby, SergeyBiryukov.
 Fixes #41396.
 }}}

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


More information about the wp-trac mailing list