Skip to content

Commit

Permalink
Comment to indicate there are three possible options. See: wpsharks/c…
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswsinc committed Oct 31, 2015
1 parent e87a1c9 commit c930124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/includes/classes/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public function setup()
'change_notifications_enable' => '1', // `0|1`.

'cache_clear_admin_bar_enable' => '1', // `0|1`.
'cache_clear_admin_bar_options_enable' => '1', // `0|1`.
'cache_clear_admin_bar_options_enable' => '1', // `0|1|2`.
'cache_clear_admin_bar_roles_caps' => '', // Comma-delimited list of roles/caps.

'cache_clear_cdn_enable' => '0', // `0|1`.
Expand Down
2 changes: 1 addition & 1 deletion src/includes/closures/Plugin/AdminBarUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
}
$vars = array(
'_wpnonce' => wp_create_nonce(),
'isMultisite' => is_multisite(), // Network?
'isMultisite' => is_multisite(),
'currentUserHasCap' => current_user_can($self->cap),
'currentUserHasNetworkCap' => current_user_can($self->network_cap),
'htmlCompressorEnabled' => (boolean) $self->options['htmlc_enable'],
Expand Down

0 comments on commit c930124

Please sign in to comment.