[Resolved] Wrong bloginfo('wpurl') usage.
I just encountered some compatibility issue with a theme (http://www.rootstheme.com/).
Roots rewrites the output of bloginfo(‘wpurl’) to be relative instead of absolute. Which means in most cases it simply returns ‘/’.
In a few of your files you’re doing something like this:
<?php bloginfo('wpurl'); ?>/wp-admin/...'
The problem is that the url is then //wp-admin/… which isn’t interpreted as relative to the root of the website but is wp-admin was the domain itself.
Solution: remove the leading ‘/’ in ‘/wp-admin/’
I quickly fixed that on my local by grepin for ?>.’/wp-admin and then search replacing but I don’t think it’s enough.
Contact me if you want a patch or something 😉
- The topic ‘[Resolved] Wrong bloginfo('wpurl') usage.’ is closed to new replies.