WEATNU Artist Database — Changelog
v1.1.4 (2026-02-25) — Current
Bug Fixes
--> Logout button added to artist dashboard — logged-in artists now have a visible Log Out link in the top-right corner of the dashboard header. Previously there was no way to log out from the testing page. Also added logout link to the suspended account gate screen which was also missing it. <---
weatnu_update_profile genre bug — still pending. Same intval() fix applied to weatnu_handle_join in v1.1.3 needs applying here too. Queued for next session.
New Features
Support / Bug Report System
Complete two-way support ticket system built from scratch. Three new DB tables, new admin submenu, floating front-end widget.
Database:
support_tickets table — ticket_id, artist_id, name, email, subject, status (open/closed), created_at, updated_at
support_messages table — message_id, ticket_id, sender (user/admin), message_type (text/image), message, created_at
Imported via support-tables.sql then support-add-image-type.sql
Floating support widget (wp_footer injection):
Appears on every page — logged in or not
WEATNU red pill button, bottom-right corner, swappable to icon via single variable $support_btn_content
Logged-out users: name + email + subject + message form
Logged-in users: two tabs — New Ticket and My Tickets
My Tickets tab shows full thread, reply box with Enter-to-send (Shift+Enter for new line), image paste/drop support
After submitting a ticket, automatically switches to My Tickets and opens the thread
Auto-polling every 5 seconds — new admin replies appear in the thread without any refresh
Clicking message text to copy no longer closes the thread (click target is header only, not full card)
Message bubbles are selectable text
Image sharing in chat:
Artists can paste a screenshot directly into the reply box
Drag and drop also supported
Client-side preview with cancel (×) button before upload completes
Uploaded to WordPress media, stored as message_type = 'image' in DB
Images render inline in both the widget thread and admin panel
Max 5MB, JPG/PNG/GIF/WebP only
Admin panel — Bug Reports / Support submenu:
New submenu under WEATNU Artists with open ticket count badge
Full dark mode UI — black background, WEATNU red accents, Bebas Neue / Crimson Pro fonts
Threaded chat layout — admin bubbles right (red gradient), artist bubbles left (dark)
AJAX reply — message appears instantly in thread, no page refresh
AJAX close/reopen — no page refresh, confirmation dialog before close
Enter-to-send on admin reply textarea (Shift+Enter for new line)
Font size 16px for readability, brighter text on artist bubbles
Email behavior:
New ticket opens → single ping email to admin with link to support panel
Mid-conversation → no emails (real-time chat handles communication)
Close Ticket → one full transcript email to admin + one to artist with complete conversation, messages labelled by name (artist name vs WEATNU Admin)
AJAX actions added:
weatnu_submit_ticket (nopriv + auth) — submit new ticket
weatnu_get_my_tickets (auth) — fetch artist's tickets with messages
weatnu_add_ticket_message (auth) — artist sends reply
weatnu_poll_messages (auth) — fetch all messages for open thread (5s interval)
weatnu_upload_support_image (auth) — upload screenshot to ticket
weatnu_admin_reply (admin) — admin sends reply via AJAX
weatnu_admin_close_ticket (admin) — close or reopen ticket via AJAX, fires transcript email on close