Changeset 3907 for sites/trunk/buddypress.org/public_html/wp-content/plugins/buddypress-org/toolbar.php
- Timestamp:
- 09/01/2016 09:45:53 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/buddypress.org/public_html/wp-content/plugins/buddypress-org/toolbar.php
r1851 r3907 57 57 /** WordPress *************************************************************/ 58 58 59 // Add "About WordPress" link59 // Add WordPress menu 60 60 $wp_admin_bar->add_menu( array( 61 61 'parent' => 'wp-logo', … … 65 65 ) ); 66 66 67 // Add "About WordPress" link 67 68 $wp_admin_bar->add_menu( array( 68 69 'parent' => 'wordpress', … … 96 97 ) ); 97 98 98 /** BuddyPress Developer **/99 /** WordPress Developer **/ 99 100 $wp_admin_bar->add_group( array( 100 101 'parent' => 'wordpress', … … 121 122 /** bbPress ***************************************************************/ 122 123 123 // Add "About WordPress" link124 // Add bbPress menu 124 125 $wp_admin_bar->add_menu( array( 125 126 'parent' => 'wp-logo', … … 129 130 ) ); 130 131 132 // Add "About bbPress" link 131 133 $wp_admin_bar->add_menu( array( 132 134 'parent' => 'bbpress', 133 'id' => 'bbp-about ',135 'id' => 'bbp-about-alt', 134 136 'title' => __( 'About bbPress' ), 135 137 'href' => 'https://bbpress.org/about/', … … 160 162 ) ); 161 163 162 /** BuddyPress Developer **/164 /** bbPress Developer **/ 163 165 $wp_admin_bar->add_group( array( 164 166 'parent' => 'bbpress', … … 185 187 /** BuddyPress ************************************************************/ 186 188 187 // Add "About WordPress" link189 // Add BuddyPress menu 188 190 $wp_admin_bar->add_menu( array( 189 191 'parent' => 'wp-logo', … … 193 195 ) ); 194 196 197 // Add "About BuddyPress" link 195 198 $wp_admin_bar->add_menu( array( 196 199 'parent' => 'buddypress', 197 'id' => 'bp-about ',200 'id' => 'bp-about-alt', 198 201 'title' => __( 'About BuddyPress' ), 199 202 'href' => 'https://buddypress.org/about/', … … 213 216 'id' => 'bp-support-forums', 214 217 'title' => __( 'Support Forums' ), 215 'href' => 'https://buddypress.org/ forums/',218 'href' => 'https://buddypress.org/support/', 216 219 ) ); 217 220 … … 291 294 if ( is_user_logged_in() ) { 292 295 293 // Add an option to visit the site. 294 $wp_admin_bar->add_menu( array( 295 'parent' => 'bp-site-name', 296 // Add a link to create a new topic. 297 $wp_admin_bar->add_menu( array( 296 298 'id' => 'bp-new-topic', 297 299 'title' => __( 'Create New Topic' ), 298 'href' => 'https://buddypress.org/ forums/new-topic/'300 'href' => 'https://buddypress.org/support/new-topic/' 299 301 ) ); 300 302 … … 321 323 } else { 322 324 $wp_admin_bar->add_menu( array( 323 'parent' => 'bp-site-name',324 325 'id' => 'bp-login', 325 326 'title' => __( 'Log in' ),
Note: See TracChangeset
for help on using the changeset viewer.