WordPress.org

Making WordPress.org

Changeset 6253


Ignore:
Timestamp:
12/11/2017 07:41:26 AM (5 months ago)
Author:
dd32
Message:

Trac: Add a coding-standards focus to core.trac.wordpress.org.

Fixes #3317

Location:
sites/trunk/wordpress.org/public_html
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js

    r6168 r6253  
    3939        'multisite' : 'Relating to multisite, but assigned a more specific component.',
    4040        'rest-api' : 'Relating to the REST API, but assigned a more specific component.',
    41         'performance' : 'Performance or caching (but not the Cache API component).'
     41        'performance' : 'Performance or caching (but not the Cache API component).',
     42        'coding-standards' : 'Coding Standards focus.'
    4243    };
    4344
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php

    r6117 r6253  
    596596        echo '<option value="" selected="selected">' . $default . '</option>';
    597597        if ( in_array( 'focus', $topics ) ) {
    598             $focuses = array( 'accessibility', 'administration', 'docs', 'javascript', 'multisite', 'performance', 'rest-api', 'rtl', 'template', 'ui' );
     598            $focuses = array( 'accessibility', 'administration', 'docs', 'javascript', 'multisite', 'performance', 'rest-api', 'rtl', 'template', 'ui', 'coding-standards' );
    599599            foreach ( $focuses as $focus ) {
    600600                echo '<option value="focus/' . $focus . '">' . $focus . ( $both ? ' (focus)' : '' ) . '</option>';
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications.php

    r6168 r6253  
    8484    function get_trac_focuses() {
    8585        if ( 'core' === $this->trac ) {
    86             return array( 'accessibility', 'administration', 'docs', 'javascript', 'multisite', 'performance', 'rest-api', 'rtl', 'template', 'ui' );
     86            return array( 'accessibility', 'administration', 'docs', 'javascript', 'multisite', 'performance', 'rest-api', 'rtl', 'template', 'ui', 'coding-standards' );
    8787        }
    8888        return array();
Note: See TracChangeset for help on using the changeset viewer.