diff --git a/includes/admin/class-gen-history-query.php b/includes/admin/class-gen-history-query.php index 50fd456..7fbc67b 100644 --- a/includes/admin/class-gen-history-query.php +++ b/includes/admin/class-gen-history-query.php @@ -59,7 +59,10 @@ class PRAutoBlogger_Gen_History_Query { public function get_page( int $page = 1, int $per_page = self::PAGE_SIZE ): array { global $wpdb; if ( null === $wpdb ) { - return array( 'rows' => array(), 'total' => 0 ); + return array( + 'rows' => array(), + 'total' => 0, + ); } $per_page = min( max( 1, $per_page ), self::PAGE_SIZE_MAX ); diff --git a/templates/admin/gen-history-page.php b/templates/admin/gen-history-page.php index 865c7bb..be1a58f 100644 --- a/templates/admin/gen-history-page.php +++ b/templates/admin/gen-history-page.php @@ -143,10 +143,10 @@ if ( ! defined( 'ABSPATH' ) ) { - 1 ) : ?> + 1 ) : ?>
- - + +