Skip to content

Commit

Permalink
no_found_rows
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Dec 5, 2023
1 parent 0d14ef3 commit 8ab8398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/NPRAPIWordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ function update_posts_from_stories( $publish = TRUE, $qnum = false ) {
'meta_key' => NPR_STORY_ID_META_KEY,
'meta_value' => $story->id,
'post_type' => $pull_post_type,
'post_status' => 'any'
'post_status' => 'any',
'no_found_rows' => true
]);

// set the mod_date and pub_date to now so that for a new story we will fail the test below and do the update
Expand Down

0 comments on commit 8ab8398

Please sign in to comment.