Thread:Extension talk:WPMW/Solution to syncing WordPress-MediaWiki logouts

Navigate to your current WordPress theme's root directory, and add the following lines of code to functions.php: