fast fix to the "Call to undefined function wp_register_plugin_realpath" fatal error