[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:07:24 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 nacin):

 I just checked upstream and found the output headers in version 1.0.0, the
 latest available when the class was committed.

 1.0.1, marked as stable, is from September. Changing this the only thing
 marked in the changelog:
 {{{
 Fixed Bug #16585 - Fix correct mime type for encode() - note use
 encodeUnsafe() to prevent headers being sent.
 }}}

 Bingo! We should probably upgrade our class then.

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


More information about the wp-trac mailing list