[wp-trac] [WordPress Trac] #11537: Warning: Cannot modify header information… in class-json.php

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 21 16:31:59 UTC 2009


#11537: Warning: Cannot modify header information… in class-json.php
------------------------------+---------------------------------------------
 Reporter:  zigazou           |       Owner:  Viper007Bond
     Type:  defect (bug)      |      Status:  assigned    
 Priority:  normal            |   Milestone:  2.9.1       
Component:  Warnings/Notices  |     Version:  2.9         
 Severity:  normal            |    Keywords:              
------------------------------+---------------------------------------------

Comment(by westi):

 Ok.

 Seems I was looking at a very old version.

 Based on that should we also not be using encodeUnsafe from out
 json_encode function so as to not send headers and match the PHP
 functionality.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11537#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list