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/metaboxes.php

    r6924 r7006  
    316316    <p>
    317317        <strong class="label"><?php esc_html_e( 'Type:', 'bbpress' ); ?></strong>
    318         <label class="screen-reader-text" for="bbp_forum_type_select"><?php esc_html_e( 'Type:', 'bbpress' ) ?></label>
     318        <label class="screen-reader-text" for="bbp_forum_type_select"><?php esc_html_e( 'Type:', 'bbpress' ); ?></label>
    319319        <?php bbp_form_forum_type_dropdown( array( 'forum_id' => $post->ID ) ); ?>
    320320    </p>
     
    328328    <p>
    329329        <strong class="label"><?php esc_html_e( 'Status:', 'bbpress' ); ?></strong>
    330         <label class="screen-reader-text" for="bbp_forum_status_select"><?php esc_html_e( 'Status:', 'bbpress' ) ?></label>
     330        <label class="screen-reader-text" for="bbp_forum_status_select"><?php esc_html_e( 'Status:', 'bbpress' ); ?></label>
    331331        <?php bbp_form_forum_status_dropdown( array( 'forum_id' => $post->ID ) ); ?>
    332332    </p>
     
    340340    <p>
    341341        <strong class="label"><?php esc_html_e( 'Visibility:', 'bbpress' ); ?></strong>
    342         <label class="screen-reader-text" for="bbp_forum_visibility_select"><?php esc_html_e( 'Visibility:', 'bbpress' ) ?></label>
     342        <label class="screen-reader-text" for="bbp_forum_visibility_select"><?php esc_html_e( 'Visibility:', 'bbpress' ); ?></label>
    343343        <?php bbp_form_forum_visibility_dropdown( array( 'forum_id' => $post->ID ) ); ?>
    344344    </p>
Note: See TracChangeset for help on using the changeset viewer.