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-groups/classes/class-bp-group-extension.php

    r13808 r13878  
    12921292                                $this->edit_screen_template = '/groups/single/home';
    12931293                        } else {
    1294                                 add_action( 'bp_template_content_header', function() {
     1294                                add_action( 'bp_template_content_header', function () {
    12951295                                        echo '<ul class="content-header-nav">';
    12961296                                        bp_group_admin_tabs();
    … …  
    15211521
    15221522                $extension_slug = $this->slug;
    1523                 $callback       = function() use ( $extension_slug, $group_id ) {
     1523                $callback       = function () use ( $extension_slug, $group_id ) {
    15241524                        do_action( 'bp_groups_admin_meta_box_content_' . $extension_slug, $group_id );
    15251525                };
Note: See TracChangeset for help on using the changeset viewer.