wp-media / wp-rocket

Performance optimization plugin for WordPress
https://wp-rocket.me
GNU General Public License v2.0
690 stars 216 forks source link

Improve Delay JavaScript Execution UI when no plugin / theme are detected #5870

Open WordPresseur opened 1 year ago

WordPresseur commented 1 year ago

Before submitting an issue please check that you’ve completed the following steps:

Describe the bug When there's no plugin or theme detected by the Delay JavaScript Execution, the related One-Click exclusion section won't be displayed:

image

To Reproduce Steps to reproduce the behavior:

  1. Go to Theme & Plugins and deactivate all the know themes & plugins
  2. Go to Delay JavaScript Execution One-Click exclusion sections
  3. See UI issue

Expected behavior It could show that No known plugin/theme were found: image

Additional context HS ticket: https://secure.helpscout.net/conversation/2210737089/413692?folderId=1213662

Backlog Grooming (for WP Media dev team use only)

camilamadronero commented 1 year ago

Or, we could dynamically change the text:

And so on.