[wp-trac] [WordPress Trac] #37026: PHP Notice: Trying to get property of non-object in wp-admin\nav-menus.php on line 836
WordPress Trac
noreply at wordpress.org
Tue Feb 3 16:55:02 UTC 2026
#37026: PHP Notice: Trying to get property of non-object in wp-admin\nav-menus.php
on line 836
-------------------------------------------------+-------------------------
Reporter: skylarkcob | Owner:
| sabernhardt
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 7.0
Component: Menus | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch needs-copy-review | Focuses:
changes-requested |
-------------------------------------------------+-------------------------
Comment (by audrasjb):
As per today's bug scrub, I'm leaving here some notes from the scrub:
https://wordpress.slack.com/archives/C02RQBWTW/p1770137531074749
"Instead of an error message, I might make the text something like
"(Currently set to: an invalid menu ID)". The `theme-location-set` span
should also have an `id` attribute for `aria-describedby`."
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37026#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list