Changeset 4211 for trunk/bp-core/bp-core-widgets.php
- Timestamp:
- 04/16/2011 04:47:36 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-widgets.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-widgets.php
r4088 r4211 12 12 13 13 class BP_Core_Members_Widget extends WP_Widget { 14 14 15 function bp_core_members_widget() { 16 $this->__construct(); 17 } 18 19 function __construct() { 15 20 $widget_ops = array( 'description' => __( 'A dynamic list of recently active, popular, and newest members', 'buddypress' ) ); 16 parent:: WP_Widget( false, $name = __( 'Members', 'buddypress' ), $widget_ops );21 parent::__construct( false, $name = __( 'Members', 'buddypress' ), $widget_ops ); 17 22 18 23 if ( is_active_widget( false, false, $this->id_base ) ) { … … 135 140 136 141 class BP_Core_Whos_Online_Widget extends WP_Widget { 142 137 143 function bp_core_whos_online_widget() { 144 $this->__construct(); 145 } 146 147 function __construct() { 138 148 $widget_ops = array( 'description' => __( 'Avatars of users who are currently online', 'buddypress' ) ); 139 parent:: WP_Widget( false, $name = __( "Who's Online Avatars", 'buddypress' ), $widget_ops );149 parent::__construct( false, $name = __( "Who's Online Avatars", 'buddypress' ), $widget_ops ); 140 150 } 141 151 … … 199 209 200 210 class BP_Core_Recently_Active_Widget extends WP_Widget { 211 201 212 function bp_core_recently_active_widget() { 213 $this->__construct(); 214 } 215 216 function __construct() { 202 217 $widget_ops = array( 'description' => __( 'Avatars of recently active members', 'buddypress' ) ); 203 parent:: WP_Widget( false, $name = __( 'Recently Active Member Avatars', 'buddypress' ), $widget_ops );218 parent::__construct( false, $name = __( 'Recently Active Member Avatars', 'buddypress' ), $widget_ops ); 204 219 } 205 220
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)