summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2019-01-01 22:18:11 -0500
committerAnthony G. Basile <blueness@gentoo.org>2019-01-01 22:18:11 -0500
commit018bd442ec1e04ba78a6628763414eb60b359398 (patch)
tree448cde462397af33e5a964ba5d0803b73c65040e /plugins/jetpack/modules/shortcodes/scribd.php
parentUpdate easy-table 1.8 (diff)
downloadblogs-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/scribd.php')
-rw-r--r--plugins/jetpack/modules/shortcodes/scribd.php17
1 files changed, 11 insertions, 6 deletions
diff --git a/plugins/jetpack/modules/shortcodes/scribd.php b/plugins/jetpack/modules/shortcodes/scribd.php
index 2f745daf..1810c2fa 100644
--- a/plugins/jetpack/modules/shortcodes/scribd.php
+++ b/plugins/jetpack/modules/shortcodes/scribd.php
@@ -1,6 +1,7 @@
<?php
-/* Scribd Short Code
+/*
+ Scribd Short Code
Author: Nick Momrik
[scribd id=DOCUMENT_ID key=DOCUMENT_KEY mode=MODE]
@@ -12,11 +13,15 @@ MODE can be 'list', 'book', 'slide', 'slideshow', or 'tile'
*/
function scribd_shortcode_handler( $atts ) {
- $atts = shortcode_atts( array(
- 'id' => 0,
- 'key' => 0,
- 'mode' => '',
- ), $atts, 'scribd' );
+ $atts = shortcode_atts(
+ array(
+ 'id' => 0,
+ 'key' => 0,
+ 'mode' => '',
+ ),
+ $atts,
+ 'scribd'
+ );
$modes = array( 'list', 'book', 'slide', 'slideshow', 'tile' );