The inline log viewer script was executing before wp_localize_script had defined peptideNewsAdmin. Switching from an IIFE to jQuery document.ready ensures the localized object is available. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The inline log viewer script was executing before wp_localize_script had defined peptideNewsAdmin. Switching from an IIFE to jQuery document.ready ensures the localized object is available. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>