Skip to content

Handle missing URL parts in fix_to_id - #73

Open
GreggFranklin wants to merge 1 commit into
groundhoggwp:masterfrom
GreggFranklin:fix/welcome-page-undefined-keys
Open

Handle missing URL parts in fix_to_id#73
GreggFranklin wants to merge 1 commit into
groundhoggwp:masterfrom
GreggFranklin:fix/welcome-page-undefined-keys

Conversation

@GreggFranklin

Copy link
Copy Markdown
Contributor

Prevent PHP notices by using null-coalescing defaults for path, query, and fragment when building the ID from wp_parse_url output. Also reformats the preg_replace call for readability while preserving behavior.

Prevent PHP notices by using null-coalescing defaults for path, query, and fragment when building the ID from wp_parse_url output. Also reformats the preg_replace call for readability while preserving behavior.
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.

1 participant