Make WordPress Core

Ticket #48071: 48071.diff

File 48071.diff, 625 bytes (added by sstoqnov, 5 years ago)

Remove wp-a11y from script-loader.php

  • src/wp-includes/script-loader.php

     
    882882
    883883        $scripts->add( 'wp-sanitize', "/wp-includes/js/wp-sanitize$suffix.js", array(), false, 1 );
    884884
    885         $scripts->add( 'wp-a11y', "/wp-includes/js/wp-a11y$suffix.js", array( 'jquery', 'wp-sanitize' ), false, 1 );
    886 
    887885        $scripts->add( 'sack', "/wp-includes/js/tw-sack$suffix.js", array(), '1.6.1', 1 );
    888886
    889887        $scripts->add( 'quicktags', "/wp-includes/js/quicktags$suffix.js", array(), false, 1 );