Skip to content

Commit

Permalink
chore: phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Aug 8, 2024
1 parent 78c7887 commit 93cc490
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inc/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'] )
Expand Down

0 comments on commit 93cc490

Please sign in to comment.