[wp-trac] [WordPress Trac] #37028: Taxonomy terms array to string conversion in class-wp-ajax-response.php

WordPress Trac noreply at wordpress.org
Sat Jun 4 14:14:31 UTC 2016


#37028: Taxonomy terms array to string conversion in class-wp-ajax-response.php
--------------------------+-----------------------------
 Reporter:  esemlabel     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  4.5.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When adding or deleting single term on custom taxonomy page will always
 return PHP Notice: Array to string conversion in \wp-includes\class-wp-
 ajax-response.php on line 119

 {{{#!php
 <?php
 if ( is_array( $r['supplemental'] ) ) {
     foreach ( $r['supplemental'] as $k => $v ) {
         $s .= "<$k><![CDATA[$v]]></$k>";
     }
     $s = "<supplemental>$s</supplemental>";
 }
 }}}


 The issue exist even on freshly installed WP with or without any plugins,
 But does not exist on bulk deleting.

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


More information about the wp-trac mailing list