mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-26 08:55:13 +00:00
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