Making WordPress.org

Changeset 1071


Ignore:
Timestamp:
12/25/2014 05:05:32 AM (9 years ago)
Author:
nacin
Message:

Trac JS: Allow wpTrac.nonGardeners() to be manually called by bug gardeners so they can see what most users see. see #360.

File:
1 edited

Legend:

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

    r459 r1071  
    4444        init: function() {
    4545            wpTrac.hacks();
    46             wpTrac.nonGardeners();
     46            if ( ! wpTrac.gardener ) {
     47                wpTrac.nonGardeners();
     48            }
    4749            if ( ! $(document.body).hasClass( 'plugins' ) ) {
    4850                wpTrac.workflow.init();
     
    262264        // If we're not dealing with a trusted bug gardener:
    263265        nonGardeners: function() {
    264             if ( wpTrac.gardener ) {
    265                 return;
    266             }
    267 
    268266            var version,
    269267                elements = {},
Note: See TracChangeset for help on using the changeset viewer.