Skip to content

Commit 6fcac3d

Browse files
authored
Apply suggestion from @bfintal
1 parent e578370 commit 6fcac3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/welcome/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public static function print_tabs() {
206206
</a>
207207
<?php } ?>
208208

209-
<?php if ( current_user_can( 'install_plugins' ) || current_user_can( 'activate_plugins' ) ) { ?>
209+
<?php if ( current_user_can( 'install_plugins' ) && current_user_can( 'activate_plugins' ) ) { ?>
210210
<a class="s-tab <?php echo $screen->base === 'stackable_page_stackable-useful-plugins' ? 's-active' : '' ?>"
211211
href="<?php echo admin_url( 'admin.php?page=stackable-useful-plugins' ) ?>">
212212
<span><?php _e( 'Useful Plugins', STACKABLE_I18N ) ?></span>

0 commit comments

Comments
 (0)