Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/24/2019 01:38:37 PM (4 years ago)
Author:
netweb
Message:

Build Tools: Add PHPCS with custom bbPress ruleset

  • This changeset adds an initial bbPress PHPCS ruleset
  • Future iteration of the rules in the ruleset can follow later
  • To run the PHPCS check run `grunt phpcs

Fixes #3294.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/forums.php

    r6989 r7006  
    540540            'bbp_forum_mods'        => esc_html__( 'Moderators', 'bbpress' ),
    541541            'author'                => esc_html__( 'Creator',    'bbpress' ),
    542             'bbp_forum_created'     => esc_html__( 'Created' ,   'bbpress' ),
     542            'bbp_forum_created'     => esc_html__( 'Created',    'bbpress' ),
    543543            'bbp_forum_freshness'   => esc_html__( 'Last Post',  'bbpress' )
    544544        );
     
    694694        // Messages array
    695695        $messages[ $this->post_type ] = array(
    696             0 =>  '', // Left empty on purpose
     696            0 => '', // Left empty on purpose
    697697
    698698            // Updated
    699             1 =>  sprintf(
     699            1 => sprintf(
    700700                '%1$s <a href="%2$s">%3$s</a>',
    701701                esc_html__( 'Forum updated.', 'bbpress' ),
Note: See TracChangeset for help on using the changeset viewer.