From 4bbe72cd416d38ca674d357149f7233b42c3ad59 Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@6939 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/shortcodes.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/shortcodes.php b/wp-includes/shortcodes.php index 1913d0f10..0c0553607 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; }