Bug with strpos
-
Just opened a PR on the GitHub mirror – line 254 of staff_directory_shortcode.php is bugged if
[staff_loop]
is at the beginning of your template – it’ll return 0, which is falsey, so that block doesn’t run and it spits out your tags when it renders instead of stripping them.
- The topic ‘Bug with strpos’ is closed to new replies.