[buddypress-trac] [BuddyPress] #2038: path error in bp admin-bar

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Feb 22 07:39:03 UTC 2010


#2038: path error in bp admin-bar
-------------------+--------------------------------------------------------
Reporter:  chouf1  |       Owner:     
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:     
Keywords:          |  
-------------------+--------------------------------------------------------

Comment(by TobiasBg):

 Those variables should actually be replaced with function calls to WP's
 site_url() or admin_url() functions, shouldn't they?

 i.e.
 {{{
 echo '<li class="alt"><a href="' . esc_attr( admin_url() ) . __(
 'Dashboard', 'buddypress' ) . '</a></li>';
 }}}
 and so on.

 I'll create a patch this evening, if someone confirms my thoughts.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2038#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list