WordPress.org

Making WordPress.org

Changeset 5664


Ignore:
Timestamp:
07/12/2017 11:51:55 PM (12 months ago)
Author:
netweb
Message:

bbPress.org: Add "Engagements" and rename "Subscribed Topics" to "Subscriptions" to user profile toolbar menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/plugins/bbpress-org/toolbar.php

    r4700 r5664  
    417417            $wp_admin_bar->add_menu( array(
    418418                'parent' => 'user-topics',
     419                'id'     => 'engagements',
     420                'title'  => __( 'Engagements' ),
     421                'href'   => bbp_get_user_engagements_url( bbp_get_current_user_id() ),
     422            ) );
     423            $wp_admin_bar->add_menu( array(
     424                'parent' => 'user-topics',
    419425                'id'     => 'subscriptions',
    420                 'title'  => __( 'Subscribed Topics' ),
     426                'title'  => __( 'Subscriptions' ),
    421427                'href'   => bbp_get_subscriptions_permalink( bbp_get_current_user_id() ),
    422428            ) );
Note: See TracChangeset for help on using the changeset viewer.