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

Modifying company_tagline function for compatibility with PHP 8.1 #2424

Closed
lakellie opened this issue May 19, 2023 · 0 comments · Fixed by #2430
Closed

Modifying company_tagline function for compatibility with PHP 8.1 #2424

lakellie opened this issue May 19, 2023 · 0 comments · Fixed by #2430
Assignees

Comments

@lakellie
Copy link

We heard from a user in the forums that there is a deprecated PHP warning for the following code in in wp-job-manager/wp-job-manager-template.php line 1093:

if ( 0 === strlen( $company_tagline ) ) {
		return;
	}

The PHP warning states:

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string, please use ! empty function for this

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants