From c40d63594c9fc7f68c86f537c92257d85d6397ab Mon Sep 17 00:00:00 2001 From: Aki Hamano Date: Sun, 22 Dec 2024 12:36:09 +0900 Subject: [PATCH] .wp-env.json schema: Add `testsPort` field --- schemas/json/wp-env.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/schemas/json/wp-env.json b/schemas/json/wp-env.json index 3958818714e4e6..5761fb3d877116 100644 --- a/schemas/json/wp-env.json +++ b/schemas/json/wp-env.json @@ -49,7 +49,7 @@ "default": [] }, "port": { - "description": "The primary port number to use for the installation. You'll access the instance through the port: 'http://localhost:8888'.", + "description": "The primary port number to use for the installation. You'll access the instance through the port: http://localhost:8888", "type": "integer", "default": 8888 }, @@ -114,6 +114,11 @@ } }, "default": {} + }, + "testsPort": { + "description": "The port number for the test site. You'll access the instance through the port: http://localhost:8889", + "type": "integer", + "default": 8889 } } }, @@ -125,7 +130,7 @@ "$ref": "#/definitions/wpEnvPropertyNames" }, { - "enum": [ "$schema", "env" ] + "enum": [ "$schema", "env", "testsPort" ] } ] }