Hiya,
So the plugin is “naggy by design”, so to speak, there’s no immediate plans to remove this as it is a bit of a heavy-handed approach to have you reach out to developers to maintain their code, or to remind you to find a replacement.
That said, it sounds like you may be a bit familiar with code, so you can manually enable this your self as follows:
<?php
function wp_432432587432974239_enqueues() {
wp_enqueue_script( 'jquery-migrate' );
}
add_action( 'wp_eneueue_scripts', 'wp_432432587432974239_enqueues', 1 );
I would like to put in a strong warning though, if you do put this in manually, the jQuery Migrate library in WordPress is being upgraded in version 5.6, which would likely lead to major breakage for you if you are doing this and haven’t already fixed your scripts. As such we do not recommend this approach at all, but rather resolving the underlying issues which will remove the warnings 🙂
function custom_mute_jquery_migrator() {
echo ‘<script>jQuery.migrateMute = true;</script>’;
}
add_action( ‘wp_head’, ‘custom_mute_jquery_migrator’ );
add_action( ‘admin_head’, ‘custom_mute_jquery_migrator’ );
it removes the console log for users but not the Warnings encountered in admin bar . any help? thanks
Hi,
Did you find a solution to hide the message warning in admin bar ?
Thanks in advance,
Best
Sandra: I ended up installing the “WP Downgrade | Specific Core Version” plugin to downgrade to WP 5.4 (and prevent automated upgrades).
It’s definitely a temporary fix, but because my offending plugin (MagicFields 1.x) is no longer supported I’m going to have to set aside a large chunk of hours to move to a different custom fields plugin and migrate all my custom fields data.
But sticking with 5.4 at least makes my site usable in the meantime.
Hi Darren,
Thanks for your answer and your experience !