Skip to content

Commit

Permalink
Merge branch 'release/4.0.6' of github.com:moderntribe/tribe-common i…
Browse files Browse the repository at this point in the history
…nto release/4.0.6
  • Loading branch information
bordoni committed Feb 17, 2016
2 parents e17920a + 7a96590 commit e59ae8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tribe/Settings_Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,12 @@ public static function do_network_settings_tab() {
* only if premium addons are detected.
*/
protected function do_licenses_tab() {
$show_tab = ( current_user_can( 'update_plugins' ) && $this->have_addons() );
$show_tab = ( current_user_can( 'activate_plugins' ) && $this->have_addons() );

/**
* Provides an oppotunity to override the decision to show or hide the licenses tab
*
* Normally it will only show if the current user has the "update_plugins" capability
* Normally it will only show if the current user has the "activate_plugins" capability
* and there are some currently-activated premium plugins.
*
* @var bool
Expand Down

0 comments on commit e59ae8a

Please sign in to comment.