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/users/capabilities.php

    r6734 r7006  
    486486
    487487    // Make array of post types to mark as spam
    488     $post_types  = array( bbp_get_topic_post_type(), bbp_get_reply_post_type() );
    489     $post_types  = "'" . implode( "', '", $post_types ) . "'";
     488    $post_types = array( bbp_get_topic_post_type(), bbp_get_reply_post_type() );
     489    $post_types = "'" . implode( "', '", $post_types ) . "'";
    490490
    491491    // Loop through blogs and remove their posts
Note: See TracChangeset for help on using the changeset viewer.