Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
iansvo committed Nov 29, 2024
1 parent df17294 commit 1ea0a17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion includes/blocks/class-query-page-numbers.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static function render_block( $attributes, $block_content, $block ) {
$query_data = $block->context['generateblocks/queryData'] ?? null;
$max_pages = $block->context['generateblocks/maxPages'] ?? 0;

if( !$query_data ) {
if ( ! $query_data ) {
return '';
}

Expand Down
1 change: 0 additions & 1 deletion includes/dynamic-tags/class-dynamic-tag-callbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,6 @@ public static function get_next_posts_page_url( $options, $block, $instance ) {
$per_page = $args['posts_per_page'] ?? apply_filters( 'generateblocks_query_per_page_default', 10, $args );
$output = '';


if ( $inherit_query ) {
global $wp_query, $paged;

Expand Down

0 comments on commit 1ea0a17

Please sign in to comment.