wp-discourse
wp-discourse copied to clipboard
Add missing initialisation of optional parameter
Before $comment_type was a required parameter following an optional parameter and this results in:
Deprecated: Required parameter $comment_type follows optional parameter $perform_sync in [redacted]/wp-content/plugins/wp-discourse/lib/utilities.php on line 338
This then completely breaks login on our Wordpress instance. Adding = null seems to fix the problem.