WordPress.org

Make WordPress Core

Ticket #22899: 22899.2.diff

File 22899.2.diff, 604 bytes (added by nacin, 16 months ago)
  • wp-includes/script-loader.php

     
    703703                } 
    704704 
    705705                $concat = str_split( $concat, 128 ); 
    706                 $concat = 'load[]=' . implode( '&load[]=', $concat ); 
     706                $concat = 'load%5B%5D=' . implode( '&load%5B%5D=', $concat ); 
    707707 
    708708                $src = $wp_scripts->base_url . "/wp-admin/load-scripts.php?c={$zip}&" . $concat . '&ver=' . $wp_scripts->default_version; 
    709709                echo "<script type='text/javascript' src='" . esc_attr($src) . "'></script>\n";