Please include this fix for compatibility with WP-United
-
Hi,
Because proplayer requires WordPress core files directly using
require_once
, it is incompatible with my plugin, WP-United.WordPress isn’t always bootstrapped through wp-config, so assuming that
require_once
will only bootstrap WordPress is WordPress is not already loaded is incorrect.To fix the problem, please wrap your call to
require_once(... wp-config.php ...)
in a check to see if ABSPATH is already defined, or if this is an AJAX call, use WordPress’ AJAX API.Thanks!
John
More info here:
https://www.wp-united.com/viewtopic.php?f=14&t=3323&p=14024#p14024
- The topic ‘Please include this fix for compatibility with WP-United’ is closed to new replies.