Making WordPress.org

Ticket #4081: 4081.diff

File 4081.diff, 1.4 KB (added by desrosj, 7 years ago)
  • wordpress.org/public_html/style/trac/wp-trac.js

    diff --git wordpress.org/public_html/style/trac/wp-trac.js wordpress.org/public_html/style/trac/wp-trac.js
    index 739b2fa18..20a420932 100644
    var wpTrac, coreKeywordList, gardenerKeywordList, reservedTerms, coreFocusesList 
    1818                'has-unit-tests' : 'Proposed solution has unit test coverage.',
    1919                'needs-unit-tests' : 'Ticket has a particular need for unit tests.',
    2020                'needs-dev-note' : 'Ticket needs a post on the development blog.',
     21                'has-dev-note' : 'Ticket with a published post on the development blog.',
    2122                'needs-docs' : 'Inline documentation is needed.',
    2223                'needs-codex' : 'The Codex needs to be updated or expanded.',
    2324                'has-screenshots' : 'Visual changes are documented with screenshots.',
    var wpTrac, coreKeywordList, gardenerKeywordList, reservedTerms, coreFocusesList 
    10711072                                                wpTrac.workflow.removeKeyword( 'has-screenshots' );
    10721073                                        }
    10731074
     1075                                        if ( 'has-dev-note' === keyword ) {
     1076                                                wpTrac.workflow.removeKeyword( 'needs-dev-note' );
     1077                                        } else if ( 'needs-dev-note' === keyword ) {
     1078                                                wpTrac.workflow.removeKeyword( 'has-dev-note' );
     1079                                        }
     1080
    10741081                                        // Add it to the bin, and refresh the hidden input.
    10751082                                        html = $('<span />').text(keyword).attr('data-keyword', keyword).prepend('<a class="dashicons dashicons-dismiss" href="#" />');
    10761083                                        if ( title ) {