[buddypress-trac] [BuddyPress Trac] #6503: Separate functions for creating a new nav link and registering a screen function.

buddypress-trac noreply at wordpress.org
Mon Jun 15 13:54:58 UTC 2015


#6503: Separate functions for creating a new nav link and registering a screen
function.
------------------------------+------------------------------
 Reporter:  dcavins           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Component - Core  |     Version:  2.3.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------------------

Comment (by boonebgorges):

 Thanks for getting this conversation started, dcavins.

 It'd be helpful (both for review and for committing) to get the
 whitespace/`extract()` changes into a separate patch.

 Instead of swapping out current core uses of `bp_core_new_subnav_item()`,
 why don't we refactor `bp_core_new_subnav_item()` so that it wraps the two
 new functions?

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


More information about the buddypress-trac mailing list