From 407e6a9493647920800220d9701f7173728fd4b2 Mon Sep 17 00:00:00 2001 From: Huzaifa Al Mesbah Date: Mon, 30 Mar 2026 23:31:53 +0600 Subject: [PATCH] Improve Playground blueprint with modern PHP and cleaner syntax - Update PHP version from 7.4 to 8.2 (7.4 is EOL since Nov 2022) - Simplify plugin syntax to string slug instead of verbose resource object - Use top-level login shorthand instead of step in steps array - Add explicit activatePlugin step to ensure plugin is active on load Co-Authored-By: Claude Opus 4.6 --- .wordpress-org/blueprints/blueprint.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.wordpress-org/blueprints/blueprint.json b/.wordpress-org/blueprints/blueprint.json index de6d8cab..d6c5745b 100644 --- a/.wordpress-org/blueprints/blueprint.json +++ b/.wordpress-org/blueprints/blueprint.json @@ -2,19 +2,17 @@ "$schema": "https://playground.wordpress.net/blueprint-schema.json", "landingPage": "/wp-admin/profile.php#two-factor-options", "preferredVersions": { - "php": "7.4", + "php": "8.2", "wp": "latest" }, + "login": true, "plugins": [ - { - "resource": "wordpress.org/plugins", - "slug": "two-factor" - } + "two-factor" ], "steps": [ { - "step": "login", - "username": "admin" + "step": "activatePlugin", + "pluginPath": "two-factor/two-factor.php" } ] }