[wp-trac] [WordPress Trac] #42508: Added new entry without submitting post data.

WordPress Trac noreply at wordpress.org
Fri Nov 10 18:55:05 UTC 2017


#42508: Added new entry without submitting post data.
-------------------------------+-------------------------
 Reporter:  amit_ratio         |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  worksforme
 Keywords:                     |     Focuses:
-------------------------------+-------------------------
Changes (by johnbillion):

 * version:  4.9 =>


Comment:

 Background: the reason for this is to standardise the behaviour when
 saving posts.

 The intention is for there to always be a valid post ID available at the
 point where a post is saved, so plugins and anything else which hooks into
 actions and filters doesn't need to worry about differing behaviour when
 saving "new" posts vs updating existing posts.

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


More information about the wp-trac mailing list