Skip to content

Commit af86c8a

Browse files
refactor: comment wp-cli tab
1 parent 71d49f2 commit af86c8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

includes/class-STL_Settings.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ public function create_admin_page() {
7676
<?php settings_errors(); ?>
7777
<h2 class="nav-tab-wrapper">
7878
<a href="<?php echo admin_url( $this->admin_url ); ?>" class="nav-tab<?php echo ( 'general' == $active_page ? ' nav-tab-active' : '' ); ?>"><?php esc_html_e('General', 'staging2live'); ?></a>
79-
<a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'cli' ), admin_url( $this->admin_url ) ) ); ?>" class="nav-tab<?php echo ( 'cli' == $active_page ? ' nav-tab-active' : '' ); ?>"><?php esc_html_e('WP-CLI', 'staging2live'); ?></a>
79+
<?php /*<a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'cli' ), admin_url( $this->admin_url ) ) ); ?>" class="nav-tab<?php echo ( 'cli' == $active_page ? ' nav-tab-active' : '' ); ?>"><?php esc_html_e('WP-CLI', 'staging2live'); ?></a>*/ ?>
8080
</h2>
8181

8282
<form method="post" action="options.php"><?php // settings_fields( $this->option_group_general );
8383
switch ( $active_page ) {
84-
case 'cli':
84+
/* case 'cli':
8585
do_settings_sections( $this->option_page_cli );
86-
break;
86+
break; */
8787
default:
8888
settings_fields( $this->option_group_general );
8989
do_settings_sections( $this->option_page_general );

0 commit comments

Comments
 (0)