[wp-trac] [WordPress Trac] #19524: Script Loader dies in 3.3 on no-JSON PHP

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 13 01:22:37 UTC 2011


#19524: Script Loader dies in 3.3 on no-JSON PHP
-----------------------------+--------------------
 Reporter:  mitchoyoshitaka  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  highest omg bbq  |   Milestone:  3.3.1
Component:  General          |     Version:  3.3
 Severity:  blocker          |  Resolution:
 Keywords:  has-patch        |
-----------------------------+--------------------

Comment (by nacin):

 Patch for hotfix. By defining SCRIPT_DEBUG, load-scripts.php is bypassed.
 Untested.

 {{{
 Index: hotfix.php
 ===================================================================
 --- hotfix.php  (revision 474276)
 +++ hotfix.php  (working copy)
 @@ -34,6 +34,9 @@
         $hotfixes = array();

         switch ( $wp_version ) {
 +               case '3.3' :
 +                       define( 'SCRIPT_DEBUG', true );
 +                       break;
                 case '3.1.3' :
                         $hotfixes = array( '313_post_status_query_string'
 );
                         break;

 }}}

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


More information about the wp-trac mailing list