Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/11/2021 05:26:17 PM (2 years ago)
Author:
espellcaste
Message:

Making PHPDoc Improvements to the BP Members (component) files.

Also, adding several minor PHP changes.

See #8553

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-members/bp-members-widgets.php

    r11381 r13105  
    1919 */
    2020function bp_members_register_widgets() {
    21     add_action( 'widgets_init', function() { return register_widget( 'BP_Core_Members_Widget' );         } );
    22     add_action( 'widgets_init', function() { return register_widget( 'BP_Core_Whos_Online_Widget' );     } );
    23     add_action( 'widgets_init', function() { return register_widget( 'BP_Core_Recently_Active_Widget' ); } );
     21    add_action(
     22        'widgets_init',
     23        function() {
     24            return register_widget( 'BP_Core_Members_Widget' );
     25        }
     26    );
     27
     28    add_action(
     29        'widgets_init',
     30        function() {
     31            return register_widget( 'BP_Core_Whos_Online_Widget' );
     32        }
     33    );
     34
     35    add_action(
     36        'widgets_init',
     37        function() {
     38            return register_widget( 'BP_Core_Recently_Active_Widget' );
     39        }
     40    );
    2441}
    2542add_action( 'bp_register_widgets', 'bp_members_register_widgets' );
     
    103120    <?php endif;
    104121}
    105 add_action( 'wp_ajax_widget_members',        'bp_core_ajax_widget_members' );
     122add_action( 'wp_ajax_widget_members', 'bp_core_ajax_widget_members' );
    106123add_action( 'wp_ajax_nopriv_widget_members', 'bp_core_ajax_widget_members' );
Note: See TracChangeset for help on using the changeset viewer.