[wp-trac] [WordPress Trac] #44304: API will create PHP warning and thus break code on empty category

WordPress Trac noreply at wordpress.org
Tue Jun 12 10:24:23 UTC 2018


#44304: API will create PHP warning and thus break code on empty category
--------------------------+------------------------------
 Reporter:  apermo        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.9.6
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------
Changes (by skostadinov):

 * Attachment "44304.diff" added.

 Added is_iterable() check for the handle_terms() and
 check_assign_terms_permission()

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44304>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list