[buddypress-trac] [BuddyPress] #5322: Some menu items don't work correctly

buddypress-trac noreply at wordpress.org
Mon Jan 6 22:57:07 UTC 2014


#5322: Some menu items don't work correctly
-----------------------------------------+--------------------
 Reporter:  Zachary DuBois               |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  1.9.2
Component:  Core                         |     Version:  1.9.1
 Severity:  normal                       |  Resolution:
 Keywords:  reporter-feedback has-patch  |
-----------------------------------------+--------------------

Comment (by imath):

 Replying to [comment:18 Zachary DuBois]:
 > It's cool
 Thanks a lot Zachary, i realize my explanation about 5322.01.diff was not
 detailed enough. Sorry for this. If your look again at the patch, you'll
 see that the slug argument for the {{{$bp_menu_items[]}}} is
 {{{'register'}}} and not {{{$register}}}.

 As {{{$register}}} is unset it explains the CSS classes is {{{bp-menu bp--
 nav}}}.

 The patch is setting the slug argument to {{{'register'}}} in order to
 have the CSS classes set to {{{bp-menu bp-register-nav}}}.

 So you simply need to replace at your line 1731 {{{'slug' => $register,}}}
 by {{{'slug' => 'register',}}} and it should fix the trouble as soon as
 you also remove the signup link, save the menu and add the signup item
 back.

 If so, it will confirm it's a possible way to solve the issue, thanks for
 your feedback.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5322#comment:19>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list