Merge pull request #6335 from webbuilders-group/shortcode-location-fix

BUGFIX: Fixed issue where a shortcode's location would not get set to split when using the class leftAlone
This commit is contained in:
Damian Mooyman 2016-11-25 10:56:25 +13:00 committed by GitHub
commit 76ce9fb94f

View File

@ -572,7 +572,7 @@ class ShortcodeParser extends Object {
$location = self::INLINE;
if($class == 'left' || $class == 'right') $location = self::BEFORE;
if($class == 'center' || $class == 'leftALone') $location = self::SPLIT;
if($class == 'center' || $class == 'leftAlone') $location = self::SPLIT;
if(!$parent) {
if($location !== self::INLINE) {