[wp-meta] [Making WordPress.org] #7769: Live-Preview: load Playground in actual language
Making WordPress.org
noreply at wordpress.org
Fri Sep 20 07:27:21 UTC 2024
#7769: Live-Preview: load Playground in actual language
------------------------------+---------------------
Reporter: threadi | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Resolution:
Keywords: |
------------------------------+---------------------
Comment (by tellyworth):
The `installPlugin` step is added dynamically by the plugin directory when
the blueprint.json file is imported, if the blueprint doesn't already
include one:
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/plugins/plugin-directory/cli/class-import.php#L1275
I updated the patch with a new version that puts the `setSiteLanguage`
last. Also fixed a bug with `en` locales. This should work ok I think? -
{{{
{
"landingPage": "/wp-admin/admin.php?page=personioPositions",
"preferredVersions": {
"php": "8.2",
"wp": "latest"
},
"features": {
"networking": true
},
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
},
{
"step": "runPHP",
"code": "\u003C?php require_once 'wordpress/wp-
load.php';update_option( 'personio_sqlite', '1' );"
},
{
"step": "installPlugin",
"pluginZipFile": {
"resource": "wordpress.org/plugins",
"slug": "personio-integration-light"
},
"options": {
"activate": true
}
},
{
"step": "setSiteLanguage",
"language": "de_DE"
}
]
}
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7769#comment:9>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list