Skip to content

1.3.0 — WordPress one-click admin login

Choose a tag to compare

@NaveenKharwar NaveenKharwar released this 09 Jul 04:37
· 7 commits to main since this release
41fa312

What's new

WordPress one-click admin login

Expand any WordPress site in the Sites panel to find two new actions:

  • Login as Admin — generates a one-time login token via WP-CLI, opens your default browser, and lands you directly in wp-admin already authenticated
  • Copy Login URL — same token, copied to clipboard so you can paste it into any browser (great for cross-browser testing)

Tokens are single-use and expire after 2 minutes. The feature auto-installs a small valetui-local-dev.php mu-plugin on first use for sites not created by ValetUI's WordPress installer — safe to keep, has no effect on production.

Works with any local WordPress site (detected via wp-config.php). Requires WP-CLI (brew install wp-cli).

Bug fix

WP-CLI commands now correctly resolve the MySQL Unix socket when invoked from the app process, where localhost does not automatically map to the socket (unlike in a shell session).

Requirements

  • macOS 14.0+
  • Laravel Valet
  • WP-CLI (brew install wp-cli) — for WordPress login feature only