Skip to content

v4.4.5 - Debug WooCommerce Email Preview

Choose a tag to compare

@joshuabink joshuabink released this 21 Apr 22:47
· 43 commits to main since this release

Debug release with comprehensive logging for email preview detection

Changes

  • Enhanced jbwp_is_wc_email_preview() with detailed logging for each detection method
  • Added logging to admin_body_class filter to trace CSS class application
  • Logs show: GET parameters, detection path taken, and body class changes
  • Diagnostic-only: helps identify why email preview CSS rules aren't applying

What's Next

  1. Update the plugin to v4.4.5
  2. Access the WooCommerce email preview
  3. Check wp-content/debug.log for diagnostic output

This will tell us exactly where the detection is failing.