File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 14
14
$ sites = jquery_sites ();
15
15
$ options = array_merge ( $ options , $ sites [ JQUERY_LIVE_SITE ]['options ' ] );
16
16
foreach ( $ options as $ option => $ value ) {
17
- // Skip these in production, where they are managed by puppet.
18
- // Staging should be allowed to set them for testing .
17
+ // Skip these on live sites (both production and staging),
18
+ // where they are managed by puppet .
19
19
// Local testing with a fresh database does not
20
20
// currently work if these are skipped.
21
- if ( ! JQUERY_STAGING ) {
21
+ if ( JQUERY_STAGING !== ' local ' ) {
22
22
if ( $ option === 'stylesheet ' || $ option === 'template ' ) {
23
23
// Don't mess with themes for now.
24
24
continue ;
25
25
}
26
26
if ( $ option === 'active_plugins ' ) {
27
- // In production, Puppet manages activation of per-site plugins.
27
+ // On live sites (including staging ones),
28
+ // Puppet manages activation of per-site plugins.
28
29
continue ;
29
30
}
30
31
}
You can’t perform that action at this time.
0 commit comments