The function informMessage expects parameter $Options to be an array, but the default has been a string. That string has always had to be converted to an array when the function has been called with no options.
function_exists('WriteDiscussionSorter') in applications/vanilla/views/discussions/helper_functions.php so function WriteDiscussionSorter() can be overwritten.
Solves issue: #2871 Notifications for new discussions with advanced notifications were done wrong: at first the HeadlineFormat.Discussion was set to $Activity['HeadlineFormat'], then it was checked if users were mentioned and were to be informed. If yes, $Activity['HeadlineFormat'] was set to HeadlineFormat.Mention. At last the users with advanced notification were notified but with the last HeadlineFormat. Simply changing the order to first inform the users with advaanced notification before changing the HeadlineFormat solved the problem.
the quote button is visible. Guests no longer see a 'stray' bullet item.
Only tested with the 3DS, but the new 3DS should work too, since its user agent string is `New Nintendo 3DS`.