Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/01/2024 04:26:18 PM (2 years 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/friends/loader.php

    r13461 r13878  
    5050                // Load AJAX code only on AJAX requests.
    5151                } else {
    52                         add_action( 'admin_init', function() {
     52                        add_action( 'admin_init', function () {
    5353                                if ( defined( 'DOING_AJAX' ) && true === DOING_AJAX && 0 === strpos( $_REQUEST['action'], 'friends_' ) ) {
    5454                                        require bp_nouveau()->friends->dir . 'ajax.php';
Note: See TracChangeset for help on using the changeset viewer.