aspireupdate/assets/playground/blueprint.json
Colin Stewart 3b879bd00a
Release: Bump plugin version and add the changelog for 1.0.2. (#410)
* Dependencies: Bump Git Updater Lite to 2.3.3.

* Release: Bump the plugin version.

* Release: Add changelog for 1.0.2.
2025-06-09 18:47:50 +01:00

61 lines
1.7 KiB
JSON

{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"preferredVersions": {
"php": "latest",
"wp": "latest"
},
"meta": {
"title": "AspirePress AspireUpdate Plugin Demo",
"description": "Load table AspireUpdate plugin into a WordPress Playground site",
"author": "asirota",
"categories": [
"demo",
"plugin"
]
},
"siteOptions": {
"blogname": "AspireUpdate Demo Site"
},
"plugins": [
"https://github-proxy.com/proxy/?repo=AspirePress/AspireUpdate&release=1.0.2",
"error-log-viewer",
"plugin-check"
],
"features": {
"networking": true
},
"login": true,
"landingPage": "/wp-admin/admin.php?page=aspireupdate-settings",
"steps": [
{
"step": "defineWpConfigConsts",
"consts": {
"WP_DISABLE_FATAL_ERROR_HANDLER": false,
"WP_DEBUG": false,
"WP_DEBUG_LOG": false,
"WP_DEBUG_DISPLAY": true
}
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/mu-plugins/rewrite.php",
"data": "<?php /* Use pretty permalinks */ add_action( 'after_setup_theme', function() { global $wp_rewrite; $wp_rewrite->set_permalink_structure('/%postname%/'); $wp_rewrite->flush_rules(); } );"
},
{
"step": "installTheme",
"themeData": {
"resource": "wordpress.org/themes",
"slug": "twentytwentytwo"
}
},
{
"step": "writeFile",
"path": "/wordpress/wp-content/mu-plugins/bgnightly-notice.php",
"data": "<?php add_action('admin_notices', function() { echo '<div class=\"notice notice-info is-dismissible\"><p>Welcome to AspireUpdate Demo. Visit <a href=\"https://docs.aspirepress.org\">AspirePress documentation</a> for more details.</p></div>'; });"
},
{
"step": "rm",
"path": "/wordpress/wp-content/plugins/hello.php"
}
]
}