From c088813775323e77a3a8f797c896671a2dea73ef Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 20 Feb 2008 16:47:50 +0000 Subject: [PATCH] shortcodes should not require var=val format. Props andy. fixes #5892 git-svn-id: https://develop.svn.wordpress.org/trunk@6939 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/shortcodes.php | 2 ++ 1 file changed, 2 insertions(+) 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; }