WordPress/wp-content
ryelle eaea2f3b45 Twenty Twenty-One: Check for navigation element before using it.
This prevents a javascript error in case the primary navigation has been removed, for example in a child theme.

Props sushmak.
Fixes #52773.


Built from https://develop.svn.wordpress.org/trunk@51072


git-svn-id: http://core.svn.wordpress.org/trunk@50681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-04 17:08:00 +00:00
..
plugins Accessibility: Improve the "Hello Dolly" accessibility. 2019-03-18 17:19:50 +00:00
themes Twenty Twenty-One: Check for navigation element before using it. 2021-06-04 17:08:00 +00:00
index.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00