Changeset 3001837
- Timestamp:
- 11/26/2023 03:32:34 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
online-active-users/trunk/assets/blueprints/blueprint.json
r3001834 r3001837 1 1 { 2 "landingPage": "/wp-admin/post.php?post=5&action=edit", 2 "$schema": "https://playground.wordpress.net/blueprint-schema.json", 3 "landingPage": "/wp-admin/", 3 4 "preferredVersions": { 4 "php": " 7.3",5 "wp": " 6.4.1"5 "php": "", 6 "wp": "" 6 7 }, 7 "phpExtensionBundles": [ 8 "kitchen-sink" 9 ], 8 "phpExtensionBundles": ["kitchen-sink"], 10 9 "steps": [ 11 10 { … … 13 12 "username": "admin", 14 13 "password": "password" 15 },16 {17 "step": "installPlugin",18 "pluginZipFile": {19 "resource": "wordpress.org\/plugins",20 "slug": "online-active-users-dependency"21 },22 "options": {23 "activate": true24 }25 },26 {27 "step": "installPlugin",28 "pluginZipFile": {29 "resource": "wordpress.org\/plugins",30 "slug": "online-active-users"31 },32 "options": {33 "activate": true34 }35 },36 {37 "step": "setSiteOptions",38 "options": {39 "some_required_option_1": "your_favorite_values",40 "some_required_option_2": "your_favorite_values"41 }42 },43 {44 "step": "runPHP",45 "code": "<?php\ninclude 'wordpress/wp-load.php';\nwp_insert_post(array(\n'import_id' => 5,\n'post_title' => 'Example Post',\n'post_content' => '<!-- wp:paragraph -->\n<p>a normal paragraph</p>\n<!-- \/wp:paragraph -->',\n'post_status' => 'publish',\n'post_author' => 1\n));"46 14 } 47 15 ]
Note: See TracChangeset
for help on using the changeset viewer.