I am having a problem with wordpress. I have created some shortcodes in wordpress. None of them use hyphens as suggested by the wordpress codex.
One is for validating a user email (just a success or fail) in which in case of success, I add this e-mail address to a mailchimp mailing list.
Antother is just to test mailchimp subscription functionality.
Problem is that when the user validation page is executed it always fires the mail no matter what. If I remove the shortcode in the test page, this stops.
I am really puzzled.
Here is the full code: http://pastebin.com/7wHwxc5q