Skip to content

Commit 1511557

Browse files
committed
fix whitespace
1 parent 3280490 commit 1511557

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

wc-am-client.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -532,9 +532,9 @@ public function inactive_notice() { ?>
532532
<?php if ( isset( $_GET[ 'page' ] ) && $this->wc_am_activation_tab_key == $_GET[ 'page' ] ) {
533533
return;
534534
} ?>
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>
538538
<?php }
539539
}
540540

@@ -549,9 +549,9 @@ public function check_external_blocking() {
549549

550550
if ( ! defined( 'WP_ACCESSIBLE_HOSTS' ) || stristr( WP_ACCESSIBLE_HOSTS, $host ) === false ) {
551551
?>
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>
555555
<?php
556556
}
557557
}
@@ -566,18 +566,18 @@ public function config_page() {
566566
$current_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : $this->wc_am_activation_tab_key;
567567
$tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : $this->wc_am_activation_tab_key;
568568
?>
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">
572572
<?php
573573
foreach ( $settings_tabs as $tab_page => $tab_name ) {
574574
$active_tab = $current_tab == $tab_page ? 'nav-tab-active' : '';
575575
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>';
576576
}
577577
?>
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">
581581
<?php
582582
if ( $tab == $this->wc_am_activation_tab_key ) {
583583
settings_fields( $this->data_key );
@@ -589,9 +589,9 @@ public function config_page() {
589589
submit_button( esc_html__( 'Save Changes', $this->text_domain ) );
590590
}
591591
?>
592-
</div>
593-
</form>
594-
</div>
592+
</div>
593+
</form>
594+
</div>
595595
<?php
596596
}
597597

@@ -959,7 +959,7 @@ public function wc_am_deactivate_textarea() {
959959
echo checked( get_option( $this->wc_am_deactivate_checkbox_key ), 'on' );
960960
echo '/>';
961961
?>
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>
963963
<?php
964964
}
965965

0 commit comments

Comments
 (0)