Skip to content

Commit

Permalink
Revert: Set a limit on get_chilrdren()
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjohn committed Apr 27, 2018
1 parent f2e422f commit 58b6f0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions includes/embeds/class-amp-gallery-embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public function shortcode( $attr ) {
'order' => $atts['order'],
'orderby' => $atts['orderby'],
'fields' => 'ids',
'posts_per_page' => 100,
) );
} elseif ( ! empty( $atts['exclude'] ) ) {
$attachments = get_children( array(
Expand All @@ -74,7 +73,6 @@ public function shortcode( $attr ) {
'order' => $atts['order'],
'orderby' => $atts['orderby'],
'fields' => 'ids',
'posts_per_page' => 100,
) );
} else {
$attachments = get_children( array(
Expand Down

0 comments on commit 58b6f0e

Please sign in to comment.