[wp-trac] [WordPress Trac] #27683: wp_insert_post_empty_content filter issues with auto-drafts and/or fix auto-draft duplicates

WordPress Trac noreply at wordpress.org
Mon Aug 24 03:23:54 UTC 2015


#27683: wp_insert_post_empty_content filter issues with auto-drafts and/or fix
auto-draft duplicates
------------------------------------+------------------------------
 Reporter:  hexalys                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Posts, Post Types       |     Version:  3.5.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by dd32):

 Changing the return values is going to break someones plugin, returning
 the values from the filter is going to certainly break someones plugin
 (Especially as the current use-case would probably be to return
 true/false).

 It seems like the original aim of the ticket, to be able to prevent
 duplicates, should probably be achieved through filters higher in the
 stack somewhere

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


More information about the wp-trac mailing list