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-messages/bp-messages-template.php

    r13844 r13878  
    19831983                $recipient_links = array();
    19841984
    1985                 foreach( (array) $thread_template->thread->recipients as $recipient ) {
     1985                foreach ( (array) $thread_template->thread->recipients as $recipient ) {
    19861986                        if ( (int) $recipient->user_id !== bp_loggedin_user_id() ) {
    19871987                                $recipient_link = bp_core_get_userlink( $recipient->user_id );
Note: See TracChangeset for help on using the changeset viewer.