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

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

 Looks good in principle. Interesting that you use one of my plugins as an
 example ;)

 {{{setSiteLanguage}}} should come after {{{installPlugin}}}, because in
 the Playground {{{setSiteLanguage}}} also triggers the installation of the
 language files of installed plugins. I have just tested this successfully.
 Like this:


 {{{
 {
   "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": "<?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"
     }
   ]
 }
 }}}

 I think the entry should come at the end of the array - or at least after
 installPlugin.

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


More information about the wp-meta mailing list