Fix shortcode-generated row limits
This commit is contained in:
@@ -74,7 +74,7 @@ endif;
|
||||
<?php
|
||||
$i = 0;
|
||||
|
||||
if ( is_int( $number ) && $number > 0 )
|
||||
if ( is_numeric( $number ) && $number > 0 )
|
||||
$limit = $number;
|
||||
|
||||
foreach ( $data as $event ):
|
||||
|
||||
Reference in New Issue
Block a user