Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/18/2025 02:56:26 AM (7 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/templates/default/extras/page-topics-no-replies.php

    r6371 r7374  
    2828                    <?php bbp_set_query_name( 'bbp_no_replies' ); ?>
    2929
    30                     <?php if ( bbp_has_topics( array( 'meta_key' => '_bbp_reply_count', 'meta_value' => '1', 'meta_type' => 'NUMERIC', 'meta_compare' => '<', 'orderby' => 'date', 'show_stickies' => false ) ) ) : ?>
     30                    <?php if ( bbp_has_topics(
     31                        array(
     32                            'meta_key'      => '_bbp_reply_count',
     33                            'meta_value'    => '1',
     34                            'meta_type'     => 'NUMERIC',
     35                            'meta_compare'  => '<',
     36                            'orderby'       => 'date',
     37                            'show_stickies' => false
     38                        )
     39                    ) ) : ?>
    3140
    3241                        <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
Note: See TracChangeset for help on using the changeset viewer.