Skip to content

Commit

Permalink
Attachments are 'inherit'; return all attachments.
Browse files Browse the repository at this point in the history
That was an invalid value; not sure why.
  • Loading branch information
joedolson committed Jan 14, 2022
1 parent c58a56a commit f588903
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Check out my <a href="https://github.com/joedolson/plugin-extensions/tree/master
= 3.5.5 =

* Change: Twitter app setup instructions updated.
* Removed: URL data migration. Any data that needs migrating should be long completed.

= 3.5.4 =

Expand Down
2 changes: 1 addition & 1 deletion src/wpt-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ function wpt_post_attachment( $post_ID ) {
$args = array(
'post_type' => 'attachment',
'numberposts' => 1,
'post_status' => 'publish',
'post_status' => 'any',
'post_parent' => $post_ID,
'post_mime_type' => 'image',
'order' => 'ASC',
Expand Down

0 comments on commit f588903

Please sign in to comment.