Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP warning in course admin #8

Open
louptn opened this issue Feb 25, 2020 · 1 comment
Open

PHP warning in course admin #8

louptn opened this issue Feb 25, 2020 · 1 comment

Comments

@louptn
Copy link

louptn commented Feb 25, 2020

Getting a continue warning:
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /wp-content/plugins/coursepress/2.0/include/coursepress/view/admin/course/class-edit.php on line 1573

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /wp-content/plugins/coursepress/2.0/include/coursepress/view/admin/course/class-edit.php on line 1582

Just wondering if anyone knows if it should be changed to break or should it be continue 2? Running PHP 7.3.13 and WP 5.3.2.

@Dernerd
Copy link

Dernerd commented Apr 15, 2020

Same Warning here, have Changed to continue 2 now works

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

No branches or pull requests

2 participants