Last active
April 2, 2025 07:03
-
-
Save gilles66/d88af01b3efcbdea3d610e846a2c2cca to your computer and use it in GitHub Desktop.
test blueprint.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Le fichier blueprint.json sert à créer un playground du plugin get-options dans le but que les utilisateurs puissent tester le plugin sans avoir à l'installer. | |
Pour l'instant cela ne fonctionne pas. | |
L'url de ce playground est composée de | |
-- https://playground.wordpress.net/?blueprint= | |
-- puis l'url du fichier blueprint.json | |
Soit : https://playground.wordpress.net/?blueprint=https://gist.githubusercontent.com/gilles66/d88af01b3efcbdea3d610e846a2c2cca/raw/857abe6f9d92f0dc5652f4d0db85003d0effa3f9/blueprint.json | |
Voici de l'aide | |
https://wordpress.github.io/wordpress-playground/blueprints/data-format/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"landingPage": "/wp-admin/", | |
"preferredVersions": { | |
"php": "7.4", | |
"wp": "6.5" | |
}, | |
"features": { | |
"networking": true | |
}, | |
"steps": [ | |
{ | |
"step": "login", | |
"username": "admin", | |
"password": "password" | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": 1, | |
"landingPage": "/wp-admin/plugins.php", | |
"steps": [ | |
{ | |
"step": "installWordPress" | |
}, | |
{ | |
"step": "installPlugin", | |
"pluginZipUrl": "https://downloads.wordpress.org/plugin/get-options.latest-stable.zip", | |
"activate": true | |
}, | |
{ | |
"step": "goToUrl", | |
"url": "/wp-admin/tools.php?page=all_options" | |
} | |
], | |
"features": { | |
"networking": true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ajout de
pour que playground puisse accéder au réseau et télécharger le plugin get-options.