Plugin Directory

Changeset 3216023


Ignore:
Timestamp:
01/02/2025 02:15:51 PM (13 months ago)
Author:
kantbtrue
Message:

FIX: WPNakama preview link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wpnakama/assets/blueprints/blueprint.json

    r3189458 r3216023  
    22    "$schema": "https://playground.wordpress.net/blueprint-schema.json",
    33    "landingPage": "/wp-admin/admin.php?page=wpnakama",
     4    "preferredVersions": {
     5        "php": "7.4",
     6        "wp": "latest"
     7    },
     8    "features": {
     9        "networking": true
     10    },
    411    "meta": {
    512        "title": "WPNakama Plugin Blueprint",
     
    1522        ]
    1623    },
    17     "preferredVersions": {
    18         "php": "7.4",
    19         "wp": "latest"
    20     },
    21     "features": {
    22         "networking": true
    23     },
    24     "plugins": [
     24    "steps": [
    2525        {
    26             "resource": "wordpress.org/plugins",
    27             "slug": "wpnakama"
     26            "step": "login"
     27        },
     28        {
     29            "step": "installPlugin",
     30            "pluginData": {
     31                "resource": "wordpress.org/plugins",
     32                "slug": "wpnakama"
     33            },
     34            "options": {
     35                "activate": true
     36            }
     37        },
     38        {
     39            "step": "runPHP",
     40            "code": "<?php require_once 'wordpress/wp-load.php'; wp_update_post( [ 'ID' => 1, 'post_status' => 'publish' ] ); ?>"
     41        },
     42        {
     43            "step": "setSiteOptions",
     44            "options": {
     45                "blogname": "WPNakama Demo",
     46                "wpnakama_subscriber": {
     47                    "status": "subscribed"
     48                }
     49            }
    2850        }
    29     ],
    30     "login": true
     51    ]
    3152}
Note: See TracChangeset for help on using the changeset viewer.