Skip to content

Commit

Permalink
fix: temporarily disable query filtering from #2594
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoo committed Oct 10, 2023
1 parent 1fb417c commit 1f53116
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/class-newspack-image-credits.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public static function init() {
add_filter( 'get_the_excerpt', [ __CLASS__, 'add_credit_to_attachment_excerpts' ], 10, 2 );
add_filter( 'render_block', [ __CLASS__, 'add_credit_to_image_block' ], 10, 2 );
add_filter( 'wp_get_attachment_image_src', [ __CLASS__, 'maybe_show_placeholder_image' ], 11, 4 );
add_filter( 'ajax_query_attachments_args', [ __CLASS__, 'filter_ajax_query_attachments' ] );
}

/**
Expand Down

0 comments on commit 1f53116

Please sign in to comment.