[buddypress-trac] [BuddyPress] #5026: bp_get_loggedin_user_nav() - marked as @deprecated, but used in themes

buddypress-trac noreply at wordpress.org
Mon May 27 17:52:26 UTC 2013


#5026: bp_get_loggedin_user_nav() - marked as @deprecated, but used in themes
--------------------------+-----------------------------
 Reporter:  tivnet        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:  1.7
 Severity:  trivial       |   Keywords:  needs-patch
--------------------------+-----------------------------
 {{{
  * @package BuddyPress Core
  * @todo Move to a back-compat file?
  * @deprecated Does not seem to be called anywhere in the core
  */
 function bp_get_loggedin_user_nav() {

 }}}

 But:

 - used by 3rd party themes (found at least 4 on WPMU)
 - quite convenient - easy to put in a top navigation menu, for example

 A) So, it's probably should stay

 B) I would re-consider the last statement there:

 {{{
 // Always add a log out list item to the end of the navigation
         $logout_link = ....
 }}}

 Not always, but if logged in. Otherwise - login/register.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5026>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list