wordpress-sdk icon indicating copy to clipboard operation
wordpress-sdk copied to clipboard

Reduce the amount of inline code added to the "Plugins" page

Open YahnisElsts opened this issue 5 years ago • 1 comments

🚀 feature request

Description

One of my users reports that the Freemius SDK outputs about 22 KB of HTML/JS on the "Plugins" page even when they've opted out. They consider this excessive bloat. I've checked this on a test site, and it looks like the bulk of the inline code is related to an opt-out dialog and the deactivation reason dialog.

Describe the solution you'd like

Please reduce the amount of inline HTML/JS/CSS that Freemius SDK adds to admin pages. Preferably for everyone, but at least for users who have explicitly opted out.

Describe alternatives you've considered

I suppose I could check the opt-in status and skip loading (parts of) the SDK.

YahnisElsts avatar May 11 '20 17:05 YahnisElsts

I would like that too. Put some more efforts in cleaning the existing code than developing new features please.

niklasp avatar Oct 19 '20 16:10 niklasp