Here’s a suggested fix
-
I noticed this line in
class-shortcode-locator-table.php
:$filters['shortcode'] = '[' . $filters['shortcode'] . ']';
Which only looks for shortcodes without params, e.g. “[foo]” and not “[foo bar=123]”
To make it work for all shortcodes, just remove the last “]” like so:
$filters['shortcode'] = '[' . $filters['shortcode'];
Great idea for a plugin though, thanks very much to the author!
- The topic ‘Here’s a suggested fix’ is closed to new replies.