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

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Feb 21 21:10:19 UTC 2010


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

 Path to My Blogs sub menu has missing slash
 This is actually wrong in the trunk file.

 {{{
 126  echo '<ul>';
 127  echo '<li class="alt"><a href="' . esc_attr( $blog->siteurl ) . 'wp-
 admin/">' . __( 'Dashboard', 'buddypress' ) . '</a></li>';
 128  echo '<li><a href="' . esc_attr( $blog->siteurl ) . 'wp-admin/post-
 new.php">' . __( 'New Post', 'buddypress' ) . '</a></li>';
 129  echo '<li class="alt"><a href="' . esc_attr( $blog->siteurl ) . 'wp-
 admin/edit.php">' . __( 'Manage Posts', 'buddypress' ) . '</a></li>';
 130  echo '<li><a href="' . esc_attr( $blog->siteurl ) . 'wp-admin/edit-
 comments.php">' . __( 'Manage Comments', 'buddypress' ) . '</a></li>';
 131  echo '</ul>';
 }}}

 should be

 {{{
 echo '<ul>';
 echo '<li class="alt"><a href="' . esc_attr( $blog->siteurl ) . '/wp-
 admin/">' . __( 'Dashboard', 'buddypress' ) . '</a></li>';
 echo '<li><a href="' . esc_attr( $blog->siteurl ) . '/wp-admin/post-
 new.php">' . __( 'New Post', 'buddypress' ) . '</a></li>';
 echo '<li class="alt"><a href="' . esc_attr( $blog->siteurl ) . '/wp-
 admin/edit.php">' . __( 'Manage Posts', 'buddypress' ) . '</a></li>';
 echo '<li><a href="' . esc_attr( $blog->siteurl ) . '/wp-admin/edit-
 comments.php">' . __( 'Manage Comments', 'buddypress' ) . '</a></li>';
 echo '</ul>';
 }}}

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


More information about the buddypress-trac mailing list