-
Notifications
You must be signed in to change notification settings - Fork 2
WP playground integration #51
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
base: develop
Are you sure you want to change the base?
Conversation
"step": "importFile", | ||
"file": { | ||
"resource": "wordpress.org/theme-unit-test", | ||
"type": "theme" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This step doesn't work. importFile
doesn't seem to be supported anymore but this doesn't point to an actual file, just a URL. If the goal here is to import some test data, this is what we do in a few other plugins:
{
"step": "importWxr",
"file": {
"resource": "url",
"url": "https:\/\/raw.githubusercontent.com\/WordPress\/theme-test-data\/42c0fdc29d0055c276fc9fdd335a672a8133c605\/theme-preview.xml"
}
}
While that does work here and will import content, because the the News Sitemap only pulls in recent content, none of this imported content will show up. So either we need to create new content that has timestamps from the last couple days or just remove this step and just have the default Hello World post and Sample Page show up
Description of the Change
Add WP Playground integration
Closes #46
How to test the Change
Changelog Entry
Credits
Props @kirtangajjar
Checklist: