ClassicPress PetitionsClassicPress Petitions
This is a read-only archive. Post or comment on the live version of this page on our forums.

Add `empty` check to `class-walker-nav-menu.php`

7 months ago · KTS915
Description

Explained here: https://core.trac.wordpress.org/ticket/46382

As the original poster says, the lack of an empty() check causes a lot of PHP notices.

Voters
Discussion
James Nylen

This can be reported as a bug on GitHub.

I haven't seen these notices on my own sites, so I think a bit more info is needed about how to see this issue.