티스토리 수익 글 보기
{{ message }}
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.


What?
Add support for WP.org playground feature.
Why?
Fixes #661.
How?
blueprints/blueprint.jsonto theassetsdirectory which is synced with WP.org SVN/assets.npm run blueprinthelper script to generate the blueprint URL for testing.Testing Instructions
npm run blueprintand visit the generated URL.Or simply visit: https://playground.wordpress.net/#%7B%22$schema%22:%22https://playground.wordpress.net/blueprint-schema.json%22,%22landingPage%22:%22/wp-admin/profile.php%22,%22preferredVersions%22:%7B%22php%22:%227.4%22,%22wp%22:%22latest%22%7D,%22steps%22:%5B%7B%22step%22:%22login%22%7D,%7B%22step%22:%22installPlugin%22,%22pluginData%22:%7B%22resource%22:%22wordpress.org/plugins%22,%22slug%22:%22two-factor%22%7D,%22options%22:%7B%22activate%22:true%7D%7D%5D%7D
Screenshots or screencast
The demo currently doesn’t work (reported here in WP Slack):
Changelog Entry
Added support for plugin demo on WordPress.org.