Skip to content
Snippets Groups Projects
Commit d3c49337 authored by Erick Hitter's avatar Erick Hitter
Browse files

Allow all entries to be displayed via the shortcode.

parent c413942e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment