[wp-trac] [WordPress Trac] #19373: wp_insert_post() should not contain current_user_can() checks

WordPress Trac noreply at wordpress.org
Sat Nov 18 00:42:26 UTC 2023


#19373: wp_insert_post() should not contain current_user_can() checks
-------------------------+-----------------------------
 Reporter:  alexkingorg  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Taxonomy     |     Version:  3.0
 Severity:  major        |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------

Comment (by perrelet):

 wo. this really is quite a big deal team. +1 for numerous hours wasted.

 If the gusto really isn't there to fix, a prominent notice on the
 `wp_insert_post` feels only fair.

 There's a hole in the floor 💥💥💥

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


More information about the wp-trac mailing list