Skip to content
This repository was archived by the owner on May 29, 2020. It is now read-only.

Commit a04b1ae

Browse files
committed
Coding standards: Remove trailing whitespace at the end of each line of code.
1 parent c9b75b4 commit a04b1ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wp-autoupdates.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function wp_autoupdates_enqueues( $hook ) {
7070
*/
7171
function wp_autoupdates_is_plugins_auto_update_enabled() {
7272
$enabled = ! defined( 'WP_DISABLE_PLUGINS_AUTO_UPDATE' ) || ! WP_DISABLE_PLUGINS_AUTO_UPDATE;
73-
73+
7474
/**
7575
* Filters whether plugins manual autoupdate is enabled.
7676
*
@@ -272,7 +272,7 @@ function wp_autoupdates_plugins_bulk_actions_handle( $redirect_to, $doaction, $i
272272
$redirect_to = self_admin_url( "plugins.php?enable-autoupdate=true&plugin_status=$status&paged=$page&s=$s" );
273273
return $redirect_to;
274274
}
275-
275+
276276
if ( 'disable-autoupdate-selected' === $doaction ) {
277277
if ( ! current_user_can( 'update_plugins' ) || ! wp_autoupdates_is_plugins_auto_update_enabled() ) {
278278
wp_die( __( 'Sorry, you are not allowed to enable plugins automatic updates.', 'wp-autoupdates' ) );
@@ -304,7 +304,7 @@ function wp_autoupdates_plugins_bulk_actions_handle( $redirect_to, $doaction, $i
304304
$redirect_to = self_admin_url( "plugins.php?disable-autoupdate=true&plugin_status=$status&paged=$page&s=$s" );
305305
return $redirect_to;
306306
}
307-
307+
308308
}
309309
add_action( 'handle_bulk_actions-plugins', 'wp_autoupdates_plugins_bulk_actions_handle', 10, 3 );
310310
add_action( 'handle_bulk_actions-plugins-network', 'wp_autoupdates_plugins_bulk_actions_handle', 10, 3 );
@@ -653,7 +653,7 @@ function wp_autoupdates_send_email_notification( $type, $successful_updates, $fa
653653
}
654654
}
655655
$body[] = "\n";
656-
656+
657657
// Add a note about the support forums.
658658
$body[] = __( 'If you experience any issues or need support, the volunteers in the WordPress.org support forums may be able to help.', 'wp-autoupdates' );
659659
$body[] = __( 'https://wordpress.org/support/forums/', 'wp-autoupdates' );

0 commit comments

Comments
 (0)