usefulteam / jwt-auth

WordPress JSON Web Token Authentication
https://wordpress.org/plugins/jwt-auth/
116 stars 49 forks source link

Add update warning #86

Closed dominic-ks closed 8 months ago

dominic-ks commented 1 year ago

This PR adds two warnings to a new version of the plugin - 2.1.4 - intended to go to WordPress.org users so that they are warned of upcoming changes in version 3.x+ before they are released to the WordPress.org plugin repo.

This warning will be displayed in wp-admin and is permanently dismissible (the collizo4sky/persist-admin-notices-dismissal lib was added to manage persisting the dismissal):

jwt-plugin-warning-2

When a user currently has a version lower than 3.x and an update to a version of 3.x this warning will be displayed (quoting the relevant update version):

jwt-plugin-warning

Added details to the WordPress.org plugin readme to help users understand the changes.

dominic-ks commented 1 year ago

@sun @pesseba Hi guys, still hoping to get your feedback / thumbs up on this change. Once this can go out to wp.org for a while, we'll be in a position to finally get that version up to date with the latest.

dominic-ks commented 9 months ago

@sun @pesseba guys, FYI - I'm just going to go live with this on wp.org in the next week or so unless anyone raises any issues. These whitelist queries really need to come to an end!