Changeset 3907
- Timestamp:
- 09/01/2016 09:45:53 AM (9 years ago)
- Location:
- sites/trunk/buddypress.org/public_html/wp-content/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/buddypress.org/public_html/wp-content/plugins/bbpress-org/toolbar.php
r1644 r3907 50 50 /** WordPress *************************************************************/ 51 51 52 // Add "About WordPress" link52 // Add WordPress menu 53 53 $wp_admin_bar->add_menu( array( 54 54 'parent' => 'wp-logo', … … 58 58 ) ); 59 59 60 // Add "About WordPress" link 60 61 $wp_admin_bar->add_menu( array( 61 62 'parent' => 'wordpress', … … 89 90 ) ); 90 91 91 /** BuddyPress Developer **/92 /** WordPress Developer **/ 92 93 $wp_admin_bar->add_group( array( 93 94 'parent' => 'wordpress', … … 114 115 /** bbPress ***************************************************************/ 115 116 116 // Add "About WordPress" link117 // Add bbPress menu 117 118 $wp_admin_bar->add_menu( array( 118 119 'parent' => 'wp-logo', … … 122 123 ) ); 123 124 125 // Add "About bbPress" link 124 126 $wp_admin_bar->add_menu( array( 125 127 'parent' => 'bbpress', 126 'id' => 'bbp-about ',128 'id' => 'bbp-about-alt', 127 129 'title' => __( 'About bbPress' ), 128 130 'href' => 'https://bbpress.org/about/', … … 153 155 ) ); 154 156 155 /** BuddyPress Developer **/157 /** bbPress Developer **/ 156 158 $wp_admin_bar->add_group( array( 157 159 'parent' => 'bbpress', … … 178 180 /** BuddyPress ************************************************************/ 179 181 180 // Add "About WordPress" link182 // Add BuddyPress menu 181 183 $wp_admin_bar->add_menu( array( 182 184 'parent' => 'wp-logo', … … 186 188 ) ); 187 189 190 // Add "About BuddyPress" link 188 191 $wp_admin_bar->add_menu( array( 189 192 'parent' => 'buddypress', 190 'id' => 'bp-about ',193 'id' => 'bp-about-alt', 191 194 'title' => __( 'About BuddyPress' ), 192 195 'href' => 'https://buddypress.org/about/', … … 206 209 'id' => 'bp-support-forums', 207 210 'title' => __( 'Support Forums' ), 208 'href' => 'https://buddypress.org/ forums/',211 'href' => 'https://buddypress.org/support/', 209 212 ) ); 210 213 … … 260 263 if ( is_user_logged_in() ) { 261 264 262 // Add an option to visit the site. 263 $wp_admin_bar->add_menu( array( 264 'parent' => 'bbp-site-name', 265 // Add a link to create a new topic. 266 $wp_admin_bar->add_menu( array( 265 267 'id' => 'bbp-new-topic', 266 268 'title' => __( 'Create New Topic' ), … … 290 292 } else { 291 293 $wp_admin_bar->add_menu( array( 292 'parent' => 'bbp-site-name',293 294 'id' => 'bbp-login', 294 295 'title' => __( 'Log in' ), -
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.