Making WordPress.org

Changeset 4305


Ignore:
Timestamp:
10/29/2016 10:59:57 AM (8 years ago)
Author:
ocean90
Message:

Trac: Add rest-api as focus keyword for Core Trac.

Props flixos90.
Fixes #2179.

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

    r4207 r4305  
    3737        'template' : 'Relating to theme templating, but assigned a more specific component.',
    3838        'multisite' : 'Relating to multisite, but assigned a more specific component.',
     39        'rest-api' : 'Relating to the REST API, but assigned a more specific component.',
    3940        'performance' : 'Performance or caching (but not the Cache API component).'
    4041    };
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php

    r3610 r4305  
    547547        echo '<option value="" selected="selected">' . $default . '</option>';
    548548        if ( in_array( 'focus', $topics ) ) {
    549             $focuses = array( 'accessibility', 'administration', 'docs', 'javascript', 'multisite', 'performance', 'rtl', 'template', 'ui' );
     549            $focuses = array( 'accessibility', 'administration', 'docs', 'javascript', 'multisite', 'performance', 'rest-api', 'rtl', 'template', 'ui' );
    550550            foreach ( $focuses as $focus ) {
    551551                echo '<option value="focus/' . $focus . '">' . $focus . ( $both ? ' (focus)' : '' ) . '</option>';
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications.php

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