[wp-testers] current-menu-item added to all Custom Links

Andrew Nacin wp at andrewnacin.com
Thu May 6 22:24:29 UTC 2010

It is supposed to compare the entire current URL with the URL of the custom
link (minus any anchor).

Can you post the two URLs?

On Thu, May 6, 2010 at 6:22 PM, James Laws <jamielaws at gmail.com> wrote:

> Is that based solely on domain or does it take subdomain and other
> depth into consideration?
> I have a multi-site install and I want to add a link to another site
> within my network. It's adding the current-menu-item class which is
> less than ideal.
> Just wondering if I still have some sort of buggy install.
> > It does a URL comparison. So if you added mysite.com/blog/, and you're
> on
> > mysite.com/blog/, then it gets current-menu-item. If you link to
> google.com,
> > that link won't get current-menu-item.
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers

More information about the wp-testers mailing list