diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2019-01-01 22:18:11 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2019-01-01 22:18:11 -0500 |
commit | 018bd442ec1e04ba78a6628763414eb60b359398 (patch) | |
tree | 448cde462397af33e5a964ba5d0803b73c65040e /plugins/jetpack/modules/shortcodes/upcoming-events.php | |
parent | Update easy-table 1.8 (diff) | |
download | blogs-gentoo-018bd442ec1e04ba78a6628763414eb60b359398.tar.gz blogs-gentoo-018bd442ec1e04ba78a6628763414eb60b359398.tar.bz2 blogs-gentoo-018bd442ec1e04ba78a6628763414eb60b359398.zip |
Update jetpack 6.8.1
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
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'] ), |