WordPress.org

Make WordPress Core

Ticket #22899: 22899.3.diff

File 22899.3.diff, 595 bytes (added by nacin, 9 years ago)

Testing without chunking

  • wp-includes/script-loader.php

     
    702702                        echo "</script>\n";
    703703                }
    704704
    705                 $concat = str_split( $concat, 128 );
    706                 $concat = 'load[]=' . implode( '&load[]=', $concat );
     705                $concat = 'load=' . $concat;
    707706
    708707                $src = $wp_scripts->base_url . "/wp-admin/load-scripts.php?c={$zip}&" . $concat . '&ver=' . $wp_scripts->default_version;
    709708                echo "<script type='text/javascript' src='" . esc_attr($src) . "'></script>\n";