<ul><li><strong>index___.php</strong> — Fixed operator precedence bug: <code>$_SESSION["super_admin"] ?? false != 1</code> → <code>($_SESSION["super_admin"] ?? false) != 1</code> (super_admin check was always evaluating incorrectly due to PHP operator precedence)</li><li><strong>invoice_js.php</strong> — Fixed undefined variable warnings: <code>$order["order_status_id_fk"]</code> and <code>$_GET["order_id"]</code> accessed without null guards when not in invoice mode; wrapped with isset() and ?? guards</li><li><strong>custom_js.php</strong> — Fixed 8x <code>"undifined"</code> → <code>"undefined"</code> typeof check typos (JS typeof checks never matched, media library video selectors silently broken)</li><li><strong>custom_js.php</strong> — Fixed 2x <code>$_GET["order_id"]</code> accesses without null guard (PHP notices on every non-invoice page load)</li><li><strong>coupon_table.php</strong> — Fixed wrong content: file was a copy of wizard_table (queried cart_wizard instead of coupons); replaced with correct coupon listing from wwbn_instances_coupons</li><li><strong>wizard_table.php</strong> [SPEED] — Eliminated N+1 queries: replaced per-wizard DB call with single bulk query for all steps pre-fetched and indexed by wizardid_fk before the render loop</li><li><strong>wizard_sub_table.php</strong> [SPEED] — Now uses pre-fetched steps_by_wizard array (O(1) lookup); falls back to direct DB query when included standalone via getWizardSubTable AJAX</li><li><strong>wizard_table.php</strong> — Added <code>function_exists()</code> guard on cleanWiz() to prevent fatal redeclaration if file ever included twice in same request</li></ul>