woocommerce / grow

7 stars 7 forks source link

Compat Checker – Adds perma-dismissible warning notices #85

Closed ibndawood closed 11 months ago

ibndawood commented 11 months ago

Changes proposed in this Pull Request:

Closes #84 .

In this PR:

Screenshots:

image

Detailed test instructions:

  1. Setup Compat Checker in a WooCommerce extension by following the Getting Started section.
  2. Set the WC Tested upto of the WooCommerce extension plugin header file to less than the current active WooCommerce version.
  3. Activate the extension and notice the warning as shown in the above screenshot.
  4. Click on the Dismiss button to dismiss the warning.
  5. Visiting the page again should not display this warning.

Additional details:

Changelog entry

Add - Perma-dismissible warning notices.

ibndawood commented 11 months ago

Thank you, @layoutd, for your review. Yes, the color is not set by our code but the custom notices are set by WooCommerce itself.