-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hey guys,
We had an issue with one of our websites- when you a street name, you have an opening div https://github.com/brainstormforce/all-in-one-schemaorg-rich-snippets/blob/master/functions.php#L999, but if you don't fill the field, you have an extra closing </div> here https://github.com/brainstormforce/all-in-one-schemaorg-rich-snippets/blob/master/functions.php#L1009
I've fixed the issue, adding the same check if(trim($service_street) != "") for the closing </div> item, even if it doesn't WordPress Coding Standards, which seems to be working fine for the project I'm working on.
Would you check the submitted PR and see if there is anything else that needs to be fixed?
Cheers
Metadata
Metadata
Assignees
Labels
No labels