Skip to content

Commit cbfd40d

Browse files
committed
Only show the 5.5.1 warning in the plugin deprecation notice if the user is on a lower version
1 parent 77bc442 commit cbfd40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/admin-notices/no-longer-needed.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<?php _e( 'This means you should still check that things work as expected after the plugin is disabled, and if you know there have been warnings in the admin pages, you may still need to reach out to the plugin or theme authors affected.', 'enable-jquery-migrate-helper' ); ?>
2424
</p>
2525

26-
<?php if ( is_wp_version_compatible( '5.5.1' ) ) : ?>
26+
<?php if ( ! is_wp_version_compatible( '5.5.1' ) ) : ?>
2727

2828
<p>
2929
<strong>

0 commit comments

Comments
 (0)