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,