[wp-trac] [WordPress Trac] #42464: Replace `publish_posts` permission check in `wp_insert_post()`.

WordPress Trac noreply at wordpress.org
Sun Dec 3 22:58:34 UTC 2017


#42464: Replace `publish_posts` permission check in `wp_insert_post()`.
---------------------------------------------+------------------
 Reporter:  peterwilsoncc                    |       Owner:
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  5.0
Component:  Role/Capability                  |     Version:  2.7
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit


Comment:

 In [attachment:42464.2.diff]:

 * Refreshed against coding standards
 * Updated to include @johnbillion's feedback

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


More information about the wp-trac mailing list