[buddypress-trac] [BuddyPress Trac] #6559: nav implode() error when using BUDDYPRESS_LATE_LOAD
buddypress-trac
noreply at wordpress.org
Fri Jul 17 13:48:44 UTC 2015
#6559: nav implode() error when using BUDDYPRESS_LATE_LOAD
------------------------------+------------------
Reporter: useStrict | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.4
Component: Component - Core | Version:
Severity: normal | Resolution:
Keywords: |
------------------------------+------------------
Comment (by useStrict):
Hi DJPaul,
Unfortunately, I don't have a copy of Membermouse either - I had to try it
directly on a client's staging site. To make matters worse, I suspect a
large chunk of the their code is garbled by base64 as I failed to find
several apply_filters() calls via ack-grep or grep.
I was giving this more thought overnight and figured that perhaps casting
{{{$menu_item->classes}}} as an array could do the trick better than my
previous solution.
{{{
preg_match( '/\sbp-(.*)-nav/', implode( ' ', (array) $menu_item->classes),
$matches );
}}}
Anyway, I'll try contacting the Membermouse team to try and get a copy to
figure out why MM fails to restrict views if BuddyPress is loaded first.
Cheers!
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6559#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list