Plugin crashing non-WordPress pages
-
I am integrating my WordPress navigation into several non-WordPress pages using the technique described on this page:
https://www.designchemical.com/blog/index.php/website-coding/adding-a-wordpress-menu-to-a-non-wordpress-page/This all goes well until the Subscribe2 is activated, as which point my non-WordPress pages only display a white background and this message:
“This version of Subscribe2 requires WordPress 3.3 or greater. Please update WordPress or use an older version of Subscribe2.”
Note that I am NOT trying to use/display/etc. the Subscribe2 plugin on these pages; only the WordPress menu.
The fix I have found for the problem is to edit the subscribe2.php file and kill line 42:
// exit($exit_msg);
However, I would prefer to implement a workaround via my functions.php file so that I needn’t edit the Subscribe2 plugin at all. Is this possible? Or could the next update perhaps do something to prevent this problem?
Thanks,
Matt
- The topic ‘Plugin crashing non-WordPress pages’ is closed to new replies.