From 52624e7505c0e15bd2aee49e5c485a1f478f794c Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 8 Aug 2014 16:02:10 +0100 Subject: [PATCH] Update shortcodes.md Replaced $args with $arguments as $args wasn't correct --- docs/en/reference/shortcodes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/reference/shortcodes.md b/docs/en/reference/shortcodes.md index 9a8cf6e98..22b6378c3 100644 --- a/docs/en/reference/shortcodes.md +++ b/docs/en/reference/shortcodes.md @@ -85,8 +85,8 @@ plus some `width` and `height` arguments. We'll add defaults to those in our sho urlencode($address), urlencode($address) ); - $width = (isset($args['width']) && $args['width']) ? $args['width'] : 400; - $height = (isset($args['height']) && $args['height']) ? $args['height'] : 300; + $width = (isset($arguments['width']) && $arguments['width']) ? $arguments['width'] : 400; + $height = (isset($arguments['height']) && $arguments['height']) ? $arguments['height'] : 300; return sprintf( '', $width,