Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/05/2011 10:20:14 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Add missing ID's to admin/toolbar menus. (1.5 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/bp-xprofile/bp-xprofile-loader.php

    r4961 r5283  
    182182            $wp_admin_nav[] = array(
    183183                'parent' => 'my-account-' . $this->id,
     184                'id'     => 'my-account-' . $this->id . '-view',
    184185                'title'  => __( 'View', 'buddypress' ),
    185186                'href'   => trailingslashit( $profile_link . 'public' )
     
    189190            $wp_admin_nav[] = array(
    190191                'parent' => 'my-account-' . $this->id,
     192                'id'     => 'my-account-' . $this->id . '-edit',
    191193                'title'  => __( 'Edit', 'buddypress' ),
    192194                'href'   => trailingslashit( $profile_link . 'edit' )
     
    196198            $wp_admin_nav[] = array(
    197199                'parent' => 'my-account-' . $this->id,
     200                'id'     => 'my-account-' . $this->id . '-change-avatar',
    198201                'title'  => __( 'Change Avatar', 'buddypress' ),
    199202                'href'   => trailingslashit( $profile_link . 'change-avatar' )
Note: See TracChangeset for help on using the changeset viewer.