[wp-trac] [WordPress Trac] #27452: Contributors can publish privately

WordPress Trac noreply at wordpress.org
Mon Apr 7 17:59:55 UTC 2014


#27452: Contributors can publish privately
------------------------------------------+---------------------
 Reporter:  plocha                        |       Owner:  nacin
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  3.8.2
Component:  Posts, Post Types             |     Version:  2.7
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:  ui
------------------------------------------+---------------------

Comment (by nacin):

 [27990] looks a bit weird, but basically, $post_data holds information
 used for all posts being looped over. The information coming from
 _wp_translate_postdata() is specific to that post. If we overwrite it,
 things can happen like all subsequent posts getting published, if the
 initial post was already published, even if "No Change" was chosen during
 bulk edit.

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


More information about the wp-trac mailing list