diff options
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/upcoming-events.php')
-rw-r--r-- | plugins/jetpack/modules/shortcodes/upcoming-events.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/jetpack/modules/shortcodes/upcoming-events.php b/plugins/jetpack/modules/shortcodes/upcoming-events.php index 82b07725..02f6dda1 100644 --- a/plugins/jetpack/modules/shortcodes/upcoming-events.php +++ b/plugins/jetpack/modules/shortcodes/upcoming-events.php @@ -11,7 +11,14 @@ class Upcoming_Events_Shortcode { public static function shortcode( $atts = array() ) { jetpack_require_lib( 'icalendar-reader' ); - $atts = shortcode_atts( array( 'url' => '', 'number' => 0 ), $atts, 'upcomingevents' ); + $atts = shortcode_atts( + array( + 'url' => '', + 'number' => 0, + ), + $atts, + 'upcomingevents' + ); $args = array( 'context' => 'shortcode', 'number' => absint( $atts['number'] ), |