Error in plugin performance and workaround
-
The plugin was not functioning in my custom theme.
The form was being submitted but the same page with the same url and same data was shown.Workaround:
The plugin was using “get_header” action before startup that was not called in my theme.
Adding:
do_action( ‘get_header’, null );
at the top of theme solved the problem.It would be better if a native WP action be the entry point for plugin
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Error in plugin performance and workaround’ is closed to new replies.