Skip to content

Commit

Permalink
See pewresearch/pewresearch-org@9f961a7 from refs/heads/release/5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prcdevgitbot committed Mar 12, 2024
1 parent 35a9640 commit dcd3f6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions blocks/attachment-info/attachment-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ public function get_attachments($parent_post_id) {
$to_return = array();

foreach ($attachments as $attachment) {
do_action('qm/debug', print_r($attachment, true));
if ( $attachment->menu_order > 0 ) {
continue;
}
}
if ( false === strpos( $attachment->post_title, ' ' ) ) {
continue;
}
Expand Down

0 comments on commit dcd3f6e

Please sign in to comment.