Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

top menu links don't respect WP_SITEURL (wp in subdirectory) #49

Open
codemonkeynorth opened this issue Oct 10, 2020 · 1 comment
Open

Comments

@codemonkeynorth
Copy link

Hi,

I am using a bedrock installation which sets the admin pages under /wp directory

WP_HOME='http://test.local'
WP_SITEURL="${WP_HOME}/wp"

so eg the flush permalinks menu item in the top menu should point to:
http://test.local/wp/wp-admin/admin.php?page=permalinks-customizer-posts-settings&cache=1
but it omits the wp and tries to go to
http://test.local/wp-admin/admin.php?page=permalinks-customizer-posts-settings&cache=1

thanks
J

@codemonkeynorth
Copy link
Author

also on eg the Post Type permalinks edit page, the /wp is included but it shouldn't be

Posts       | http://test.local/wp/[                ]
Pages       | http://test.local/wp/[                ]
Products    | http://test.local/wp/[                ]

etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant