shortcode fires from the editor, creates DB entries
-
I have a plugin that uses a sortcode placed in regular content. Nothing unusual here.
However, every time I edit the page (or post) in which the shortcode resides, it will fire on opening, each autosave and the final save. The sortcode only supposed to kick in from the front, but it works inside the editor too.This is becoming quite a problem, since I end up with trashy database entries.
Question: What would trigger a shortcode inside the editor? Where do I look for such a trigger and how can I stop it?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘shortcode fires from the editor, creates DB entries’ is closed to new replies.