Skip to content

Commit d2e7b35

Browse files
committed
Spacing and indentation
1 parent 0d3b318 commit d2e7b35

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/Admin.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ private static function output_admin_notices() {
5050

5151
// display admin notice and abort if no password has been set
5252
add_action( 'admin_notices', static function() {
53+
5354
if ( ! Settings::has_eval_terminal_password() ) :
55+
5456
?>
5557
<div class="update-nag">
5658
<p><?php printf(
@@ -61,8 +63,10 @@ private static function output_admin_notices() {
6163
'</a>'
6264
); ?></p>
6365
</div>
64-
<?php
66+
<?php
67+
6568
endif;
69+
6670
}, -1000 );
6771
}
6872

@@ -75,12 +79,14 @@ private static function output_admin_notices() {
7579
private static function add_plugin_page_row_action_links() {
7680

7781
add_filter( 'plugin_action_links_wp-php-console/wp-php-console.php', static function( $actions ) {
82+
7883
return array_merge( [
7984
'<a href="' . esc_url( admin_url() ) . '">' . esc_html__( 'Settings', 'wp-php-console' ) . '</a>',
8085
'<a href="' . esc_url( Plugin::get_project_page_url() ) . '">' . esc_html__( 'GitHub', 'wp-php-console' ) . '</a>',
8186
'<a href="' . esc_url( Plugin::get_support_page_url() ) . '">' . esc_html__( 'Support', 'wp-php-console' ) . '</a>',
8287
'<a href="' . esc_url( Plugin::get_reviews_page_url() ) . '">' . esc_html__( 'Review', 'wp-php-console' ) . '</a>',
8388
], $actions );
89+
8490
} );
8591
}
8692

src/Admin/SettingsPage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
defined( 'ABSPATH' ) or exit;
2121

2222
/**
23-
* WP PHP Console settings page.
23+
* WP PHP Console settings page handler.
2424
*
2525
* @since 1.6.0
2626
*/

0 commit comments

Comments
 (0)