Making WordPress.org


Ignore:
Timestamp:
12/16/2019 03:44:27 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Trac: Notifications: Add css and ui-copy focuses to Trac Notifications settings page.

Props noisysocks.
See #4844, #4610.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-notifications.php

    r8039 r9353  
    8484    function get_trac_focuses() {
    8585        if ( 'core' === $this->trac ) {
    86             return array( 'accessibility', 'administration', 'coding-standards', 'docs', 'javascript', 'multisite', 'performance', 'privacy', 'rest-api', 'rtl', 'template', 'ui' );
     86            return array(
     87                'accessibility',
     88                'administration',
     89                'coding-standards',
     90                'css',
     91                'docs',
     92                'javascript',
     93                'multisite',
     94                'performance',
     95                'privacy',
     96                'rest-api',
     97                'rtl',
     98                'template',
     99                'ui',
     100                'ui-copy',
     101            );
    87102        }
    88103        return array();
     
    92107        $tree = array();
    93108        $subcomponents = array(
    94             'Comments' => array( 'Pings/Trackbacks' ),
    95             'Editor' => array( 'Autosave', 'Quick/Bulk Edit', 'TinyMCE' ),
    96             'Formatting' => array( 'Charset', 'Shortcodes' ),
    97             'Media' => array( 'Embeds', 'Gallery', 'Upload' ),
    98             'Permalinks' => array( 'Canonical', 'Rewrite Rules' ),
     109            'Comments'          => array( 'Pings/Trackbacks' ),
     110            'Editor'            => array( 'Autosave', 'Quick/Bulk Edit', 'TinyMCE' ),
     111            'Formatting'        => array( 'Charset', 'Shortcodes' ),
     112            'Media'             => array( 'Embeds', 'Gallery', 'Upload' ),
     113            'Permalinks'        => array( 'Canonical', 'Rewrite Rules' ),
    99114            'Posts, Post Types' => array( 'Post Formats', 'Post Thumbnails', 'Revisions' ),
    100             'Themes' => array( 'Appearance', 'Widgets', 'Menus' ),
    101             'Users' => array( 'Role/Capability', 'Login and Registration' )
     115            'Themes'            => array( 'Appearance', 'Widgets', 'Menus' ),
     116            'Users'             => array( 'Role/Capability', 'Login and Registration' )
    102117        );
    103118        foreach ( $components as $component ) {
Note: See TracChangeset for help on using the changeset viewer.