From 1db2efb11bb5d4d1bf59bb727a78e40b831d1835 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:13:00 +0000 Subject: [PATCH 1/4] Initial plan From ac29aff31fc3dd59199e8ececdc914c2c78fc40b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 1 Nov 2025 20:26:53 +0000 Subject: [PATCH 2/4] Fix router to support pretty permalinks and multiple entry points Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com> --- features/server.feature | 33 +++++++++++++++++++++++++++++++++ router.php | 13 ++++++++++++- 2 files changed, 45 insertions(+), 1 deletion(-) diff --git a/features/server.feature b/features/server.feature index 6317757..b48602a 100644 --- a/features/server.feature +++ b/features/server.feature @@ -15,3 +15,36 @@ Feature: Serve WordPress locally When I run `curl -sS localhost:8181/license.txt > /tmp/license.txt` And I run `cmp /tmp/license.txt license.txt` Then STDOUT should be empty + + Scenario: Access wp-login.php + Given a WP install + And I launch in the background `wp server --host=localhost --port=8182` + + When I run `curl -sS localhost:8182/wp-login.php` + Then STDOUT should contain: + """ +