WordPress.org

Make WordPress Core

Ticket #35331: 35331.diff

File 35331.diff, 1.2 KB (added by mikemanger, 5 years ago)
  • src/wp-includes/script-loader.php

     
    170170        $scripts->add( 'wp-lists', "/wp-includes/js/wp-lists$suffix.js", array( 'wp-ajax-response', 'jquery-color' ), false, 1 );
    171171
    172172        // WordPress no longer uses or bundles Prototype or script.aculo.us. These are now pulled from an external source.
    173         $scripts->add( 'prototype', 'https://ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js', array(), '1.7.1');
     173        $scripts->add( 'prototype', 'https://ajax.googleapis.com/ajax/libs/prototype/1.7.3.0/prototype.js', array(), '1.7.3');
    174174        $scripts->add( 'scriptaculous-root', 'https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js', array('prototype'), '1.9.0');
    175175        $scripts->add( 'scriptaculous-builder', 'https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/builder.js', array('scriptaculous-root'), '1.9.0');
    176176        $scripts->add( 'scriptaculous-dragdrop', 'https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/dragdrop.js', array('scriptaculous-builder', 'scriptaculous-effects'), '1.9.0');