Skip to content

Commit

Permalink
Update unbounded query (unsupported on native)
Browse files Browse the repository at this point in the history
  • Loading branch information
Siobhan committed May 10, 2022
1 parent a4ee48e commit b89791b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function useShortCodeTransform( shortCodeTransforms ) {

return select( coreStore ).getMediaItems( {
include: imageIds.join( ',' ),
per_page: -1,
per_page: imageIds.length,
orderby: 'include',
} );
},
Expand Down

0 comments on commit b89791b

Please sign in to comment.