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/buddypress-functions.php

    r13718 r13878  
    103103                // Load AJAX code only on AJAX requests.
    104104                } else {
    105                         add_action( 'admin_init', function() {
     105                        add_action( 'admin_init', function () {
    106106                                if ( defined( 'DOING_AJAX' ) && true === DOING_AJAX ) {
    107107                                        require bp_nouveau()->includes_dir . 'ajax.php';
Note: See TracChangeset for help on using the changeset viewer.