Skip to content

fix: #2595 fatal error with woocommerce#2596

Closed
OlegApanovich wants to merge 1 commit into
masterfrom
bugfix/issue-2595/fatal-error-with-woocommerce
Closed

fix: #2595 fatal error with woocommerce#2596
OlegApanovich wants to merge 1 commit into
masterfrom
bugfix/issue-2595/fatal-error-with-woocommerce

Conversation

@OlegApanovich

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses a WooCommerce-related fatal error in the Visual Composer frontend editor header template by ensuring the WordPress $current_screen->id property is assigned a string value when it is missing.

Changes:

  • Casts $sourceId to a string when populating $current_screen->id to avoid type-related failures.
  • Normalizes the file ending around the closing </head> tag (formatting/EOF cleanup).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants