@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | public function parse($content) |
| 50 | 50 | { |
| 51 | - if (empty($this->shortcodeTags) || ! is_array($this->shortcodeTags)) { |
|
| 51 | + if (empty($this->shortcodeTags) || !is_array($this->shortcodeTags)) { |
|
| 52 | 52 | return $content; |
| 53 | 53 | } |
| 54 | 54 | |
@@ -126,11 +126,11 @@ discard block |
||
| 126 | 126 | |
| 127 | 127 | if (preg_match_all($pattern, $text, $match, PREG_SET_ORDER)) { |
| 128 | 128 | foreach ($match as $m) { |
| 129 | - if (! empty($m[1])) { |
|
| 129 | + if (!empty($m[1])) { |
|
| 130 | 130 | $atts[strtolower($m[1])] = stripcslashes($m[2]); |
| 131 | - } elseif (! empty($m[3])) { |
|
| 131 | + } elseif (!empty($m[3])) { |
|
| 132 | 132 | $atts[strtolower($m[3])] = stripcslashes($m[4]); |
| 133 | - } elseif (! empty($m[5])) { |
|
| 133 | + } elseif (!empty($m[5])) { |
|
| 134 | 134 | $atts[strtolower($m[5])] = stripcslashes($m[6]); |
| 135 | 135 | } elseif (isset($m[7]) and strlen($m[7])) { |
| 136 | 136 | $atts[] = stripcslashes($m[7]); |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | */ |
| 154 | 154 | public function stripShortcodes($content) |
| 155 | 155 | { |
| 156 | - if (empty($this->shortcodeTags) || ! is_array($this->shortcodeTags)) { |
|
| 156 | + if (empty($this->shortcodeTags) || !is_array($this->shortcodeTags)) { |
|
| 157 | 157 | return $content; |
| 158 | 158 | } |
| 159 | 159 | |