@@ -532,9 +532,9 @@ public function inactive_notice() { ?>
532
532
<?php if ( isset ( $ _GET [ 'page ' ] ) && $ this ->wc_am_activation_tab_key == $ _GET [ 'page ' ] ) {
533
533
return ;
534
534
} ?>
535
- <div class="notice notice-error">
536
- <p><?php printf ( __ ( 'The <strong>%s</strong> API Key has not been activated, so the %s is inactive! %sClick here%s to activate <strong>%s</strong>. ' , $ this ->text_domain ), esc_attr ( $ this ->software_title ), esc_attr ( $ this ->plugin_or_theme ), '<a href=" ' . esc_url ( admin_url ( 'options-general.php?page= ' . $ this ->wc_am_activation_tab_key ) ) . '"> ' , '</a> ' , esc_attr ( $ this ->software_title ) ); ?> </p>
537
- </div>
535
+ <div class="notice notice-error">
536
+ <p><?php printf ( __ ( 'The <strong>%s</strong> API Key has not been activated, so the %s is inactive! %sClick here%s to activate <strong>%s</strong>. ' , $ this ->text_domain ), esc_attr ( $ this ->software_title ), esc_attr ( $ this ->plugin_or_theme ), '<a href=" ' . esc_url ( admin_url ( 'options-general.php?page= ' . $ this ->wc_am_activation_tab_key ) ) . '"> ' , '</a> ' , esc_attr ( $ this ->software_title ) ); ?> </p>
537
+ </div>
538
538
<?php }
539
539
}
540
540
@@ -549,9 +549,9 @@ public function check_external_blocking() {
549
549
550
550
if ( ! defined ( 'WP_ACCESSIBLE_HOSTS ' ) || stristr ( WP_ACCESSIBLE_HOSTS , $ host ) === false ) {
551
551
?>
552
- <div class="notice notice-error">
553
- <p><?php printf ( __ ( '<b>Warning!</b> You \'re blocking external requests which means you won \'t be able to get %s updates. Please add %s to %s. ' , $ this ->text_domain ), $ this ->software_title , '<strong> ' . $ host . '</strong> ' , '<code>WP_ACCESSIBLE_HOSTS</code> ' ); ?> </p>
554
- </div>
552
+ <div class="notice notice-error">
553
+ <p><?php printf ( __ ( '<b>Warning!</b> You \'re blocking external requests which means you won \'t be able to get %s updates. Please add %s to %s. ' , $ this ->text_domain ), $ this ->software_title , '<strong> ' . $ host . '</strong> ' , '<code>WP_ACCESSIBLE_HOSTS</code> ' ); ?> </p>
554
+ </div>
555
555
<?php
556
556
}
557
557
}
@@ -566,18 +566,18 @@ public function config_page() {
566
566
$ current_tab = isset ( $ _GET [ 'tab ' ] ) ? $ _GET [ 'tab ' ] : $ this ->wc_am_activation_tab_key ;
567
567
$ tab = isset ( $ _GET [ 'tab ' ] ) ? $ _GET [ 'tab ' ] : $ this ->wc_am_activation_tab_key ;
568
568
?>
569
- <div class='wrap'>
570
- <h2><?php esc_html_e ( $ this ->wc_am_settings_title , $ this ->text_domain ); ?> </h2>
571
- <h2 class="nav-tab-wrapper">
569
+ <div class='wrap'>
570
+ <h2><?php esc_html_e ( $ this ->wc_am_settings_title , $ this ->text_domain ); ?> </h2>
571
+ <h2 class="nav-tab-wrapper">
572
572
<?php
573
573
foreach ( $ settings_tabs as $ tab_page => $ tab_name ) {
574
574
$ active_tab = $ current_tab == $ tab_page ? 'nav-tab-active ' : '' ;
575
575
echo '<a class="nav-tab ' . esc_attr ( $ active_tab ) . '" href="?page= ' . esc_attr ( $ this ->wc_am_activation_tab_key ) . '&tab= ' . esc_attr ( $ tab_page ) . '"> ' . esc_attr ( $ tab_name ) . '</a> ' ;
576
576
}
577
577
?>
578
- </h2>
579
- <form action='options.php' method='post'>
580
- <div class="main">
578
+ </h2>
579
+ <form action='options.php' method='post'>
580
+ <div class="main">
581
581
<?php
582
582
if ( $ tab == $ this ->wc_am_activation_tab_key ) {
583
583
settings_fields ( $ this ->data_key );
@@ -589,9 +589,9 @@ public function config_page() {
589
589
submit_button ( esc_html__ ( 'Save Changes ' , $ this ->text_domain ) );
590
590
}
591
591
?>
592
- </div>
593
- </form>
594
- </div>
592
+ </div>
593
+ </form>
594
+ </div>
595
595
<?php
596
596
}
597
597
@@ -959,7 +959,7 @@ public function wc_am_deactivate_textarea() {
959
959
echo checked ( get_option ( $ this ->wc_am_deactivate_checkbox_key ), 'on ' );
960
960
echo '/> ' ;
961
961
?>
962
- <span class="description"><?php esc_html_e ( 'Deactivates an API Key so it can be used on another blog. ' , $ this ->text_domain ); ?> </span>
962
+ <span class="description"><?php esc_html_e ( 'Deactivates an API Key so it can be used on another blog. ' , $ this ->text_domain ); ?> </span>
963
963
<?php
964
964
}
965
965
0 commit comments