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/classes/class-bp-messages-thread.php

    r13810 r13878  
    806806
    807807                // Sort threads by date_sent.
    808                 foreach( (array) $thread_ids as $thread ) {
     808                foreach ( (array) $thread_ids as $thread ) {
    809809                        $sorted_threads[ $thread->thread_id ] = strtotime( $thread->date_sent );
    810810                }
    … …  
    12361236                $bp = buddypress();
    12371237
    1238                 foreach( (array) $threads as $thread ) {
     1238                foreach ( (array) $threads as $thread ) {
    12391239                        $message_ids = maybe_unserialize( $thread->message_ids );
    12401240
Note: See TracChangeset for help on using the changeset viewer.