Skip to content

Commit

Permalink
chore: phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Aug 8, 2024
1 parent 93cc490 commit 2f8eb7d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions inc/class-main.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,6 @@ public function generate_svg_attachment_metadata( $metadata, $attachment_id ) {
* Disable canonical redirect to make Posts pagination feature work.
*
* @param \WP_Query $request The query object.
*
* @return \WP_Query
*/
public function pagination_support( $request ) {
if (
Expand All @@ -540,7 +538,6 @@ public function pagination_support( $request ) {
) {
add_filter( 'redirect_canonical', '__return_false' );
}
return $request;
}


Expand Down

0 comments on commit 2f8eb7d

Please sign in to comment.