diff --git a/wp-includes/shortcodes.php b/wp-includes/shortcodes.php index 1913d0f103..0c05536074 100644 --- a/wp-includes/shortcodes.php +++ b/wp-includes/shortcodes.php @@ -111,6 +111,8 @@ function shortcode_parse_atts($text) { elseif (isset($m[8])) $atts[] = stripcslashes($m[8]); } + } else { + $atts = ltrim($text); } return $atts; }