Framework updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2026-03-12 19:09:07 +00:00
parent 3294fc7337
commit daa9bb2fb1
47 changed files with 2495 additions and 525 deletions

View File

@@ -86,6 +86,13 @@ class Flash_Alert
*/
public static function get_pending_messages(): array
{
// No session cookie = no session = no pending messages.
// Avoid calling get_session_id() which would create a session
// for anonymous visitors who have never triggered session activation.
if (empty($_COOKIE['rsx'])) {
return [];
}
$session_id = Session::get_session_id();
if ($session_id === null) {
return [];