Gee…
I’ll reproduce the bug:
In your plugin comment line 112 $genericon_rotate = 'genericon-rotate-normal';
Now you have an undefined var.
Create a post with this single line in the content area:
[genericon icon=flag]
View the post. Voilá.
I end this conversation: have better things to do.
Where does the error display?
I did that and did not get an error in the WP debug bar, debug output, or debulg log. Hence my confusion. That’s why I keep asking where 🙂
Thank you. I still can’t reproduce that, but I’m gonna keep trying since it implies an outlier issue with code in general I need to be aware of.
My last words Mika.
It’s very simple to reproduce, but please follow the steps I describe.
Step 1. Read this.
Step 2. Be sure that in the file wp-config.php (in the root of your site) this line exists:
define('WP_DEBUG', true);
Step 3. Follow the steps I mentioned earlier. E.g.:
In your plugin comment or DELETE line 112 $genericon_rotate = ‘genericon-rotate-normal’;
(Now you have an undefined var)
Create a post with this single line in the content area:
[genericon icon=flag]
Save and view the post. You’ll see WordPress echoes the bug notice.
It that doesn’t give you the solution I’m helpless and you have to seek for others who would like to help you.
Yeah, I did all that. That’s why I’m confiused too! 😀