[wp-trac] [WordPress Trac] #48968: hoverintent-js.min.js conflicted amp

WordPress Trac noreply at wordpress.org
Thu Sep 24 09:43:56 UTC 2020


#48968: hoverintent-js.min.js conflicted amp
-----------------------------+--------------------------------
 Reporter:  patkhonsiam      |       Owner:  audrasjb
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Toolbar          |     Version:  5.3.1
 Severity:  normal           |  Resolution:  reported-upstream
 Keywords:  has-screenshots  |     Focuses:
-----------------------------+--------------------------------

Comment (by beaubhavikwebslaw):

 // Solution to confliction of jquery with seo plugin - Backend Side
 function webslaw_hoverintent_reload() {
     wp_deregister_script('hoverIntent');
     wp_register_script('hoverIntent', (
 'https://cdnjs.cloudflare.com/ajax/libs/jquery.hoverintent/1.10.1/jquery.hoverIntent.min.js'),
 array('jquery'), 'r6.1');
 }
 add_action('admin_init', 'webslaw_hoverintent_reload');

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48968#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list