Issue Summary
I often use a Bedrock configuration for my WordPress projects, which works fine for the most part but there are always issues with the One-Click Admin login feature as well as the WordPress Version indicator displayed on the “Overview” tab.
As you can see in the screenshot above, the One-click Admin feature reads “Disable” and the WordPress Version indicator just displays a loading animation that loops indefinitely.
Replication
- Setup a new Local WP project.
- Install Bedrock in your root project folder using their standard install process (Bedrock | Modern WordPress Boilerplate | Roots).
- Move the contents of the bedrock folder to the Local
/app
folder (at this point, you can delete everything in the/public
folder if you want). - Setting up your
.env
file and runcomposer install
. - Modify your
conf/ngnix/site.conf.hbs
file so that the serverroot
has the absolute path to yourweb
folder like this:
root "/Users/username/Local Sites/ProjectName/app/web/";
- Restart the site and observe the issue with One-click Admin and the WordPress Version indicator.
System Details
Local Version: 6.0.0+5444
OS: macOS Big Sur v11.4