wordpress-vanilla
wordpress-vanilla copied to clipboard
WordPress 4.9.7 and greater requires change in functions.php
vanilla-forums/functions.php (line 342)
Change:
if (!function_exists('get_currentuserinfo')) require_once ABSPATH . WPINC . '/pluggable.php'; get_currentuserinfo();
To
if (!function_exists('wp_get_current_user')) require_once ABSPATH . WPINC . '/pluggable.php'; wp_get_current_user();
Which seems to fix a "Whoops" parseerror when using the "<forumURL>/sso" link.
This still exists by the way. I updated the WP plug-in to the most recent version, then updated to Vanilla 3.0.. and still had to make this edit to get /sso to work.
@donovandb Is the only thing blocking the integration with the latest versions of wordpress? We don't use the integration ourselves anymore which is why this issue wasn't noticed, but if it's such a simple fix it's worth doing.
Yes, that's all that needs to be done.
I'm running:
Wordpress 5.2.2
Vanilla 3.0