Skip to content

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

@jonathanernst

Description

@jonathanernst

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); });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions