[wp-trac] [WordPress Trac] #33270: add attribute View profile

WordPress Trac noreply at wordpress.org
Wed Aug 5 10:38:59 UTC 2015


#33270: add attribute View profile
--------------------------+-----------------------
 Reporter:  cocolabombe0  |       Owner:
     Type:  enhancement   |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  Menus         |     Version:  4.2.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------
Changes (by cocolabombe0):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 In made is not a concern of bbpress.
 The problem is that the two identities are the same variable.


 {{{
 $wp_admin_bar->add_menu( array(
                 'parent' => 'user-actions',
                 'id'     => 'user-info',
                 'title'  => $user_info,
                 'href'   => $profile_url,
                 'meta'   => array(
                         'tabindex' => -1,
                 ),
         ) );
         $wp_admin_bar->add_menu( array(
                 'parent' => 'user-actions',
                 'id'     => 'edit-profile',
                 'title'  => __( 'Edit My Profile' ),
                 'href' => $profile_url,
         ) );
 }}}


 We can see that the href is the same so I can not separate the links.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33270#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list