[buddypress-trac] [BuddyPress Trac] #5883: bp_core_new_nav_item does not work with a hyphen in the slug

buddypress-trac noreply at wordpress.org
Thu Dec 4 15:14:04 UTC 2014


#5883: bp_core_new_nav_item does not work with a hyphen in the slug
-------------------------------+--------------------
 Reporter:  zudie              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  2.2
Component:  Rewrite Rules      |     Version:  2.0.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+--------------------
Changes (by imath):

 * keywords:  good-first-bug => reporter-feedback


Comment:

 Well, i think there's no bug.

 First zudie, you are mixing arguments that are used in
 {{{bp_core_new_subnav_item()}}} within {{{bp_core_new_nav_item()}}} which
 is not a big deal as BuddyPress will keep the good ones :)

 Then, i wasn't able to reproduce, everything works fine with an hyphen in
 the slug.

 I've created this gist to illustrate how to use the two nav functions. You
 can use it to test eveything is ok.
 https://gist.github.com/imath/2b8806431cc7a6f39f74

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5883#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list