[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 18:37:26 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             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by esemlabel):

 I am sorry, but I found what cause this issue.
 One of my theme's included php file contained one space character after
 close php tag

 {{{#!php
 ?>  <- one space here
 }}}

 I didn't mentioned WP does not trim content, and it is miracle that I
 could find this lone space. In other cases, find a such mistake would be
 impossible. 'WP_DEBUG' and 'WP_DEBUG_LOG' couldn't catch this.

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


More information about the wp-trac mailing list