Skip to content

ExploreXR Version 1.0.6

Choose a tag to compare

@ExpoXR ExpoXR released this 16 Oct 13:51

WORDPRESS.ORG COMPLIANCE CLEANUP

This Release removes all debugging code to meet WordPress.org plugin
review standards for production release.

PHP Changes:

  • Removed 16 calls to explorexr_is_debug_enabled() from model-helper.php
  • Removed 4 calls to explorexr_create_debug_log() from meta-handlers.php
  • Removed 4 calls to explorexr_debug_add() from model-validator.php
  • Removed 5 console.log statements from PHP inline scripts
  • Removed Debug Mode UI row from settings page system info
  • Removed conditional console.log from class-post-types.php

JavaScript Changes:

  • Removed 90+ console.log statements from custom JS files:
    • model-handler.js (45 instances)
    • model-uploader.js (8 instances)
    • model-viewer-preload.js (11 instances)
    • model-viewer-wrapper.js (4 instances)
    • model-viewer-guard.js (3 instances)
    • model-viewer-loader-manager.js (2 instances)
    • model-loader.js (2 instances)
    • edit-mode-fix.js (1 instance)
    • error-handler.js (1 instance)
    • unified-error-handler.js (1 instance)
    • template-parts/model-viewer-script.php (3 instances)
    • metaboxes/model-file.php (1 instance)

Compliance Verification:

✓ No var_dump, print_r, or var_export statements
✓ wp_die() only used for security checks (acceptable)
✓ No hardcoded passwords, API keys, or secrets
✓ Text domain 'explorexr' properly used throughout
✓ Proper sanitization and escaping maintained
✓ Legacy version option kept for backward compatibility

Vendor Files Preserved:

  • model-viewer.min.js (Google library - not modified)
  • model-viewer-umd.js (Google library - not modified)
  • vendor/* files (third-party libraries - not modified)

Impact:

  • Plugin is now production-ready for WordPress.org submission
  • All undefined debug function calls removed (prevents PHP errors)
  • No debugging output in production environment
  • Cleaner, more professional codebase

Version: 1.0.6 (unchanged - keeping stable release number)
Status: Ready for WordPress.org review"