AxeWP / wp-graphql-gravity-forms

GraphQL API for interacting with Gravity Forms.
GNU General Public License v3.0
165 stars 29 forks source link

fix: Check for url before passing it to `url_to_postid()` #423

Closed justlevine closed 5 months ago

justlevine commented 5 months ago

What

This PR fixes several PHP notices when fetching SubmissionConfirmation.page or SubmissionConfirmation.pageId when there is no associated URL.

Why

How

Check there's a valid url, before passing it to url_to_postid().

Testing Instructions

Additional Info

Checklist: