diff --git a/eth-timeline.php b/eth-timeline.php index e3565cd4e0bc871c8ad1442e09015e5e29948818..bad9fb6f6d3b1149702d3fadf5ad694a5c9d0e0f 100644 --- a/eth-timeline.php +++ b/eth-timeline.php @@ -317,7 +317,7 @@ class ETH_Timeline { 'year' => null, ), $atts ); - $atts['posts_per_page'] = min( 200, max( (int) $atts['posts_per_page'], 1 ) ); + $atts['posts_per_page'] = min( 200, max( (int) $atts['posts_per_page'], -1 ) ); $atts['order'] = 'ASC' == $atts['order'] ? 'ASC' : 'DESC'; $atts['year'] = is_numeric( $atts['year'] ) ? (int) $atts['year'] : null;