Skip to:
Content

BuddyPress.org


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-loader.php

    r4961 r5282  
    182182            $wp_admin_nav[] = array(
    183183                'parent' => 'my-account-' . $this->id,
     184                'id'     => 'my-account-' . $this->id . '-public',
    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.