- Timestamp:
- 05/21/2018 01:01:35 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/src/bp-templates/bp-nouveau/includes/classes.php
r12082 r12105 44 44 */ 45 45 public function __construct( $args = array() ) { 46 if ( empty( $args ) || ! is_array( $args ) ) {47 _doing_it_wrong( __( 'You need to use an array containing arrays of parameters.', 'buddypress' ) );48 return;49 }50 51 46 foreach ( $args as $arg ) { 52 47 $r = wp_parse_args( (array) $arg, array( … … 198 193 parent::__construct( 199 194 'bp_nouveau_sidebar_object_nav_widget', 200 __( '(BuddyPress) Primary nav ', 'buddypress' ),195 __( '(BuddyPress) Primary navigation', 'buddypress' ), 201 196 $widget_ops 202 197 );
Note: See TracChangeset
for help on using the changeset viewer.