Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 04:26:18 PM (22 months ago)
Author:
espellcaste
Message:

WPCS: The modified code addresses all Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword and Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction issues specific to the foreach and function examples.

See #7228

File:
1 edited

Legend:

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

    r13652 r13878  
    5555        // Load AJAX code only on AJAX requests.
    5656        } else {
    57             add_action( 'admin_init', function() {
     57            add_action( 'admin_init', function () {
    5858                if ( defined( 'DOING_AJAX' ) && true === DOING_AJAX && 0 === strpos( $_REQUEST['action'], 'groups_' ) ) {
    5959                    require bp_nouveau()->groups->dir . 'ajax.php';
Note: See TracChangeset for help on using the changeset viewer.