Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Only check a header value if the respective header is defined#1

Open
mcbsys wants to merge 1 commit into
wp-plugins:masterfrom
mcbsys:patch-1
Open

Only check a header value if the respective header is defined#1
mcbsys wants to merge 1 commit into
wp-plugins:masterfrom
mcbsys:patch-1

Conversation

@mcbsys

@mcbsys mcbsys commented Apr 17, 2017

Copy link
Copy Markdown

In WordPress DEBUG mode, the plugin was throwing multiple errors as it tried to access undefined header values. Modified to only access a header value if the header is defined. Seems to be working for me, but please test!

In WordPress DEBUG mode, the plugin was throwing multiple errors as it tried to access undefined header values. Modified to only access a header value if the header is defined. Seems to be working for me, but please test!
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant