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-core/admin/bp-core-admin-functions.php

    r13871 r13878  
    14071407        ?>
    14081408        <script type="text/javascript">
    1409         jQuery( '#menu-to-edit').on( 'click', 'a.item-edit', function() {
     1409        jQuery( '#menu-to-edit').on( 'click', 'a.item-edit', function () {
    14101410                var settings  = jQuery(this).closest( '.menu-item-bar' ).next( '.menu-item-settings' );
    14111411                var css_class = settings.find( '.edit-menu-item-classes' );
    … …  
    15411541        ?>
    15421542        <script type="text/javascript">
    1543                 jQuery( document ).ready( function($) {
    1544                         $( '.row-actions .ham' ).each( function() {
     1543                jQuery( document ).ready( function ($) {
     1544                        $( '.row-actions .ham' ).each( function () {
    15451545                                $( this ).closest( 'tr' ).addClass( 'site-spammed' );
    15461546                        });
Note: See TracChangeset for help on using the changeset viewer.