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

WordPress Trac noreply at wordpress.org
Fri Jul 21 11:24:14 UTC 2017


#41396: set_post_format: inconsistency between edit_post and bulk_edit_posts
--------------------------+-----------------------------
 Reporter:  Chouby        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Formats  |    Version:  3.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In `edit_post()`, `set_post_format()` is called before the post is saved.
 In `bulk_edit_posts()`, it is called after.

 This can cause trouble to the plugins expecting to have the right post
 format, when hooking to the action `save_post`.

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


More information about the wp-trac mailing list