[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
Fixes a PHP error that is caused by the [membership] shortcode not having a levels attribute
How to test the changes in this Pull Request:
Add the [membership] shortcode to a page
Sign up for a level with a check payment
Visit the page - No error should show. Previously: Warning: foreach() argument must be of type array|object, bool given in /Users/jarrydlong/Local Sites/paid-memberships-pro/app/public/wp-content/plugins/pmpro-pay-by-check/pmpro-pay-by-check.php on line 634
Other information:
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully run tests with your changes locally?
All Submissions:
Changes proposed in this Pull Request:
Fixes a PHP error that is caused by the [membership] shortcode not having a levels attribute
How to test the changes in this Pull Request:
[membership]
shortcode to a pageWarning: foreach() argument must be of type array|object, bool given in /Users/jarrydlong/Local Sites/paid-memberships-pro/app/public/wp-content/plugins/pmpro-pay-by-check/pmpro-pay-by-check.php on line 634
Other information: