Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/18/2025 02:56:26 AM (6 months ago)
Author:
johnjamesjacoby
Message:

Tools - Code Improvement: stop ignoring WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine sniff.

This commit ensures that all arrays with multiple keys & values are not on single lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/functions.php

    r7360 r7374  
    28362836    // Get the logs and append the new one to those
    28372837    $revision_log                      = bbp_get_topic_raw_revision_log( $r['topic_id'] );
    2838     $revision_log[ $r['revision_id'] ] = array( 'author' => $r['author_id'], 'reason' => $r['reason'] );
     2838    $revision_log[ $r['revision_id'] ] = array(
     2839        'author' => $r['author_id'],
     2840        'reason' => $r['reason']
     2841    );
    28392842
    28402843    // Finally, update
Note: See TracChangeset for help on using the changeset viewer.