[wp-trac] [WordPress Trac] #51812: Update jQuery step three

WordPress Trac noreply at wordpress.org
Wed Oct 19 02:13:33 UTC 2022


#51812: Update jQuery step three
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:
                                                 |  SergeyBiryukov
     Type:  task (blessed)                       |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  External Libraries                   |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  early needs-testing needs-dev-note   |     Focuses:  javascript
  has-patch                                      |
-------------------------------------------------+-------------------------

Comment (by a4jp.com):

 Any chance of getting 3.4.0 as it's just a link change on your side and as
 jQuery Migrate is still in WordPress?

 Or a warning removal:



 {{{
 /*Remove JQuery Migrate warning*/
 function remove_jquery_migrate_notice() {
     $m= $GLOBALS['wp_scripts']->registered['jquery-migrate'];
     $m->extra['before'][]='temp_jm_logconsole = window.console.log;
 window.console.log=null;';
     $m->extra['after'][]='window.console.log=temp_jm_logconsole;';
 }
 add_action( 'init', 'remove_jquery_migrate_notice', 5 );
 }}}

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


More information about the wp-trac mailing list