2.7’s admin_url function gives wrong URL
-
I have just started a new site with WP 2.7. I am running on my localhost under IIS7.
When I go the login page, put in the correct password, and hit enter, the page refreshes with this URL:
https://localhost/myblog/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fmyblog%2Fwp-admin%2Findex.php
That is, the redirect_to address is being URLencoded, instead of being expressed as a URL.If I put in the wrong password, the page refreshes with the normal Error message.
When I login properly it looks to me as though I’m being momentarily redirected to someplace under
https://localhost/myblog/wp-login.php
, but it goes by too fast for me to see where.I suspect that the issue is in the admin_url function, which seems to be new to 2.7. Am I right? What do I do?
- The topic ‘2.7’s admin_url function gives wrong URL’ is closed to new replies.