Plugin Directory

Changeset 3126597


Ignore:
Timestamp:
07/27/2024 04:48:32 PM (18 months ago)
Author:
functionsfile
Message:

Update brlueprint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-bar-site-id/assets/blueprints/blueprint.json

    r3126579 r3126597  
    11{
    2     "landingPage": "/wp-admin/",
    3     "steps": [
    4         {
    5             "step": "enableMultisite"
    6         },
    7         {
    8             "step": "login",
    9             "username": "admin",
    10             "password": "password"
    11         },
    12         {
    13             "step": "installPlugin",
    14             "pluginZipFile": {
    15                 "resource": "wordpress.org/plugins",
    16                 "slug": "admin-bar-site-id"
    17             }
    18         },
    19         {
    20             "step": "runPHP",
    21             "code": "<?php require '/wordpress/wp-load.php'; wp_insert_site(['user_id' => 1,'title' => 'My Other WordPress Website','network_id' => 1,'public' => 1,'path' => 'second', 'domain' => str_replace( '/', '', explode( '//', network_home_url() )[1] )]);"
    22         },
    23         {
    24             "step": "runPHP",
    25             "code": "<?php require '/wordpress/wp-load.php'; wp_insert_site(['user_id' => 1,'title' => 'My Third WordPress Website','network_id' => 1,'public' => 1,'path' => 'third', 'domain' => str_replace( '/', '', explode( '//', network_home_url() )[1] )]);"
    26         }
    27     ]
     2  "landingPage": "/wp-admin/",
     3  "steps": [
     4    {
     5      "step": "enableMultisite"
     6    },
     7    {
     8      "step": "login",
     9      "username": "admin",
     10      "password": "password"
     11    },
     12    {
     13      "step": "installPlugin",
     14      "pluginZipFile": {
     15        "resource": "wordpress.org/plugins",
     16        "slug": "admin-bar-site-id"
     17      },
     18      "options": {
     19        "activate": false
     20      }
     21    },
     22    {
     23      "step": "runPHP",
     24      "code": "<?php require '/wordpress/wp-load.php'; $arr = array( 'admin-bar-site-id/plugin.php' => time() ); update_site_option( 'active_sitewide_plugins', $arr );"
     25    }
     26  ]
    2827}
Note: See TracChangeset for help on using the changeset viewer.