- Timestamp:
- 02/08/2016 05:56:22 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-messages/classes/class-bp-messages-component.php
r10522 r10555 254 254 // Inbox. 255 255 $wp_admin_nav[] = array( 256 'parent' => 'my-account-' . $this->id, 257 'id' => 'my-account-' . $this->id . '-inbox', 258 'title' => $inbox, 259 'href' => $messages_link 256 'parent' => 'my-account-' . $this->id, 257 'id' => 'my-account-' . $this->id . '-inbox', 258 'title' => $inbox, 259 'href' => $messages_link, 260 'position' => 10 260 261 ); 261 262 … … 263 264 if ( bp_is_active( $this->id, 'star' ) ) { 264 265 $wp_admin_nav[] = array( 265 'parent' => 'my-account-' . $this->id, 266 'id' => 'my-account-' . $this->id . '-starred', 267 'title' => __( 'Starred', 'buddypress' ), 268 'href' => trailingslashit( $messages_link . bp_get_messages_starred_slug() ) 266 'parent' => 'my-account-' . $this->id, 267 'id' => 'my-account-' . $this->id . '-starred', 268 'title' => __( 'Starred', 'buddypress' ), 269 'href' => trailingslashit( $messages_link . bp_get_messages_starred_slug() ), 270 'position' => 11 269 271 ); 270 272 } … … 272 274 // Sent Messages. 273 275 $wp_admin_nav[] = array( 274 'parent' => 'my-account-' . $this->id, 275 'id' => 'my-account-' . $this->id . '-sentbox', 276 'title' => __( 'Sent', 'buddypress' ), 277 'href' => trailingslashit( $messages_link . 'sentbox' ) 276 'parent' => 'my-account-' . $this->id, 277 'id' => 'my-account-' . $this->id . '-sentbox', 278 'title' => __( 'Sent', 'buddypress' ), 279 'href' => trailingslashit( $messages_link . 'sentbox' ), 280 'position' => 20 278 281 ); 279 282 280 283 // Compose Message. 281 284 $wp_admin_nav[] = array( 282 'parent' => 'my-account-' . $this->id, 283 'id' => 'my-account-' . $this->id . '-compose', 284 'title' => __( 'Compose', 'buddypress' ), 285 'href' => trailingslashit( $messages_link . 'compose' ) 285 'parent' => 'my-account-' . $this->id, 286 'id' => 'my-account-' . $this->id . '-compose', 287 'title' => __( 'Compose', 'buddypress' ), 288 'href' => trailingslashit( $messages_link . 'compose' ), 289 'position' => 30 286 290 ); 287 291 … … 289 293 if ( bp_current_user_can( 'bp_moderate' ) ) { 290 294 $wp_admin_nav[] = array( 291 'parent' => 'my-account-' . $this->id, 292 'id' => 'my-account-' . $this->id . '-notices', 293 'title' => __( 'All Member Notices', 'buddypress' ), 294 'href' => trailingslashit( $messages_link . 'notices' ) 295 'parent' => 'my-account-' . $this->id, 296 'id' => 'my-account-' . $this->id . '-notices', 297 'title' => __( 'All Member Notices', 'buddypress' ), 298 'href' => trailingslashit( $messages_link . 'notices' ), 299 'position' => 90 295 300 ); 296 301 }
Note: See TracChangeset
for help on using the changeset viewer.