diff --git a/includes/class-custom-action.php b/includes/class-custom-action.php index 69753c0848cace2c10be519eb8488aad53ae234d..7f37d6dcc4be1b4286c2bbf694fa3369455e4f68 100644 --- a/includes/class-custom-action.php +++ b/includes/class-custom-action.php @@ -45,7 +45,7 @@ class Custom_Action { ), $return_url ); // Run the custom action as Core does. See note above. - $return_url = apply_filters( 'handle_bulk_actions-' . $vars->current_screen->id, $return_url, $vars->action, $vars->posts ); + $return_url = apply_filters( 'handle_bulk_actions-' . $vars->current_screen->id, $return_url, $vars->action, $vars->posts ); // Core violates its own standard by using a hyphen in the hook name. @codingStandardsIgnoreLine // Can't get much more than this in terms of success or failure. $results = compact( 'return_url', 'vars' ); diff --git a/includes/class-main.php b/includes/class-main.php index 13a7b11e8b2ff790916eefb757fda58ef2fc3676..e0c6a2fa011d2d9ce4639b95189b684906af42a5 100644 --- a/includes/class-main.php +++ b/includes/class-main.php @@ -116,7 +116,7 @@ class Main { $vars->current_screen = (object) $screen; unset( $screen ); - // Remainder of data comes from $_REQUEST + // Remainder of data comes from $_REQUEST. if ( isset( $_REQUEST['delete_all'] ) || isset( $_REQUEST['delete_all2'] ) ) { $vars->action = 'delete_all'; } elseif ( isset( $_REQUEST['action'] ) && '-1' !== $_REQUEST['action'] ) { diff --git a/includes/class-restore-from-trash.php b/includes/class-restore-from-trash.php index 9100f0704078907bcb08502acc6e1c7c9929883f..ff1a764885bdc0e90a4881fff14e0086e4b40b0f 100644 --- a/includes/class-restore-from-trash.php +++ b/includes/class-restore-from-trash.php @@ -117,7 +117,7 @@ class Restore_From_Trash { * @return string */ public static function admin_notice_hidden_pending_processing() { - return __( 'Some items that would normally be shown here are waiting to be restored from the trash. These items are hidden until they are restored.', 'bulk-actions-cron-offload' );; + return __( 'Some items that would normally be shown here are waiting to be restored from the trash. These items are hidden until they are restored.', 'bulk-actions-cron-offload' ); } /**