Commit d3c49337 authored by Erick Hitter's avatar Erick Hitter

Allow all entries to be displayed via the shortcode.

parent c413942e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment