Skip to content

Make sure that we have a valid product#207

Open
dparker1005 wants to merge 1 commit intostrangerstudios:devfrom
dparker1005:make-sure-product-exists
Open

Make sure that we have a valid product#207
dparker1005 wants to merge 1 commit intostrangerstudios:devfrom
dparker1005:make-sure-product-exists

Conversation

@dparker1005
Copy link
Copy Markdown
Member

All Submissions:

Changes proposed in this Pull Request:

wc_get_product() can return null or a boolean value. We need to account for those possibilities to avoid PHP errors.

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

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