diff --git a/inc/class-main.php b/inc/class-main.php index ac01442a1..e2ac4feab 100644 --- a/inc/class-main.php +++ b/inc/class-main.php @@ -530,9 +530,9 @@ public function generate_svg_attachment_metadata( $metadata, $attachment_id ) { */ public function pagination_support( $request ) { if ( - $request->is_singular === true && - $request->current_post === -1 && - $request->is_paged === true && + true === $request->is_singular && + -1 === $request->current_post && + true === $request->is_paged && ( ! empty( $request->query_vars['page'] ) || ! empty( $request->query_vars['paged'] )