Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2018 01:00:36 AM (17 months ago)
Author:
djpaul
Message:

Templates, Nouveau: string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/classes.php

    r12082 r12104  
    4444     */
    4545    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 
    5146        foreach ( $args as $arg ) {
    5247            $r = wp_parse_args( (array) $arg, array(
     
    198193        parent::__construct(
    199194            'bp_nouveau_sidebar_object_nav_widget',
    200             __( '(BuddyPress) Primary nav', 'buddypress' ),
     195            __( '(BuddyPress) Primary navigation', 'buddypress' ),
    201196            $widget_ops
    202197        );
Note: See TracChangeset for help on using the changeset viewer.