wp-discourse icon indicating copy to clipboard operation
wp-discourse copied to clipboard

Add missing initialisation of optional parameter

Open drt24 opened this issue 3 years ago • 0 comments

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.

drt24 avatar Sep 23 '22 15:09 drt24