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

Admin logo link is wrong when home_url() != site_url() #9

Open
jonathanernst opened this issue Oct 31, 2011 · 1 comment
Open

Admin logo link is wrong when home_url() != site_url() #9

jonathanernst opened this issue Oct 31, 2011 · 1 comment

Comments

@jonathanernst
Copy link

Hello,

I think you should link the header logo to the real public URL which is sometimes different than the real directory of the wordpress installation like the "original" code does.

Here is a patch to fix this :

--- /tmp/core.php.old 2011-10-31 18:20:17.294734541 +0100
+++ core.php 2011-10-31 18:20:43.122734557 +0100
@@ -49,7 +49,7 @@ class AC_Core {

<script type="text/javascript"> jQuery(document).ready(function() { $logo_mark = jQuery('#header-logo'); - $site_url = jQuery(''); - $site_url = jQuery(''); $site_url.append($logo_mark); jQuery('#site-heading').before($site_url); });
@jonathanernst
Copy link
Author

The patch in a readable form : http://pastebin.com/CsT8f785

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