Plugin Directory

Changeset 3001837

Timestamp:
11/26/2023 03:32:34 PM (8 months ago)
Author:
valani9099
Message:

blueprint testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • online-active-users/trunk/assets/blueprints/blueprint.json

    r3001834 r3001837  
    11{
    2     "landingPage": "/wp-admin/post.php?post=5&action=edit",
     2    "$schema": "https://playground.wordpress.net/blueprint-schema.json",
     3    "landingPage": "/wp-admin/",
    34    "preferredVersions": {
    4         "php": "7.3",
    5         "wp": "6.4.1"
     5        "php": "",
     6        "wp": ""
    67    },
    7     "phpExtensionBundles": [
    8         "kitchen-sink"
    9     ],
     8    "phpExtensionBundles": ["kitchen-sink"],
    109    "steps": [
    1110        {
     
    1312            "username": "admin",
    1413            "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": true
    24             }
    25         },
    26         {
    27             "step": "installPlugin",
    28             "pluginZipFile": {
    29                 "resource": "wordpress.org\/plugins",
    30                 "slug": "online-active-users"
    31             },
    32             "options": {
    33                 "activate": true
    34             }
    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));"
    4614        }
    4715    ]
Note: See TracChangeset for help on using the changeset viewer.