[wp-meta] [Making WordPress.org] #7769: Live-Preview: load Playground in actual language

Making WordPress.org noreply at wordpress.org
Wed Sep 18 09:59:10 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):

 @threadi here's an example of what the blueprint.json looks like with
 `setSiteLanguage` automatically injected by that patch:

 ```
 {
   "landingPage": "/wp-admin/admin.php?page=personioPositions",
   "preferredVersions": {
     "php": "8.2",
     "wp": "latest"
   },
   "features": {
     "networking": true
   },
   "steps": [
     {
       "step": "setSiteLanguage",
       "language": "de_DE"
     },
     {
       "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
       }
     }
   ]
 }
 ```

 Would that solve the issue? Do you forsee any other unintended
 consequences? (Note that the patch should skip adding the step if the
 blueprint already includes `setSiteLanguage`).

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7769#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list