Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/20/2012 03:39:59 PM (12 years ago)
Author:
djpaul
Message:

Prefix widget names with "(BuddyPress)" for easier identification on the widget admin screen. Fixes #4616

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-widgets.php

    r6342 r6432  
    1717    function __construct() {
    1818        $widget_ops = array( 'description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ) );
    19         parent::__construct( false, $name = __( 'Members', 'buddypress' ), $widget_ops );
     19        parent::__construct( false, $name = _x( '(BuddyPress) Members', 'widget name', 'buddypress' ), $widget_ops );
    2020
    2121        if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) {
     
    145145    function __construct() {
    146146        $widget_ops = array( 'description' => __( 'Avatars of users who are currently online', 'buddypress' ) );
    147         parent::__construct( false, $name = __( "Who's Online Avatars", 'buddypress' ), $widget_ops );
     147        parent::__construct( false, $name = _x( "(BuddyPress) Who's Online", 'widget name', 'buddypress' ), $widget_ops );
    148148    }
    149149
     
    209209    function __construct() {
    210210        $widget_ops = array( 'description' => __( 'Avatars of recently active members', 'buddypress' ) );
    211         parent::__construct( false, $name = __( 'Recently Active Member Avatars', 'buddypress' ), $widget_ops );
     211        parent::__construct( false, $name = _x( '(BuddyPress) Recently Active Members', 'widget name', 'buddypress' ), $widget_ops );
    212212    }
    213213
Note: See TracChangeset for help on using the changeset viewer.