2016-11-21, 05:12 PM
This
[attachment=37848]
edit:
the plugin i am modifying is
https://github.com/metulburr/wordblock
note: original author is dragonexpert, not me
how to replicate this error as opposed to just using php's error()?
error("Your post has been flagged as spam and blocked. Please press the back button on your browser and remove any content that appears to be spam and then repost.");
says what i want. But the problem is the users post is gone after they move to this, and when they hit back, they have to retype everything out. Ive seen this with another plugin, but i cant remember which one. It created an error popup above the editor and allowed the user to not have to retype the whole post.[attachment=37848]
edit:
the plugin i am modifying is
https://github.com/metulburr/wordblock
note: original author is dragonexpert, not me
how to replicate this error as opposed to just using php's error()?