Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for playground #693

Open
Mte90 opened this issue Mar 20, 2024 · 3 comments
Open

Support for playground #693

Mte90 opened this issue Mar 20, 2024 · 3 comments

Comments

@Mte90
Copy link
Contributor

Mte90 commented Mar 20, 2024

🚀 feature request

Description

Add the support to disable the license wizard on WordPress playground instances.
https://wordpress.org/playground/

Now it is opt-in by developers compared when happened that they pushed to everyone automatically.
On november they launched the new integration with the wordpress repository https://make.wordpress.org/meta/2023/11/22/plugin-directory-preview-button-revisited/

Describe the solution you'd like

Adding a constant in the blueprint.json as WordPress/wordpress-playground#483 so it will happen automatically.

@Mte90
Copy link
Contributor Author

Mte90 commented Apr 8, 2024

@vovafeldman @swashata you can test a plugin with the freemius sdk with ours on:
https://playground.wordpress.net/?plugin=glossary-by-codeat&blueprint-url=https://wordpress.org/plugins/wp-json/plugins/v1/plugin/glossary-by-codeat/blueprint.json?rev=3066781

As you can see the data are imported of the glossary post type but is required to skip the Freemius modal box after activating.
It would be nice a way to not show the modal itself in this scenario, I need that to open the live preview for our plugin.

@kylegilman
Copy link

I ran into the same problem, so I added a constant to my Videopack plugin 'VIDEOPACK_FREEMIUS_ENABLED' that checks if Freemius should be enabled, then set that constant to false in my blueprint.

@Mte90
Copy link
Contributor Author

Mte90 commented Apr 9, 2024

A suggestion https://github.com/TablePress/TablePress/blob/main/tablepress.php#L85 is to use the anonymous_mode that disables this kind of warning with that constant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants