WordPress.org

Make WordPress Core

Ticket #22975: 22975-apply-fix.patch

File 22975-apply-fix.patch, 813 bytes (added by ocean90, 6 years ago)
  • wp-includes/js/jquery/jquery-migrate.js

     
    11/*!
    2  * jQuery Migrate - v1.0.0b1 - 2012-12-16
     2 * jQuery Migrate - v1.0.0pre - 2012-12-17
    33 * https://github.com/jquery/jquery-migrate
    44 * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT
    55 */
     
    296296var eventAdd = jQuery.event.add,
    297297        eventRemove = jQuery.event.remove,
    298298        eventTrigger = jQuery.event.trigger,
    299         oldToggle = jQuery.event.toggle,
     299        oldToggle = jQuery.fn.toggle,
    300300        oldLive = jQuery.fn.live,
    301301        oldDie = jQuery.fn.die,
    302302        ajaxEvents = "ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",