[wp-trac] [WordPress Trac] #57169: Prevent saving of invalid menu_item_parent
WordPress Trac
noreply at wordpress.org
Fri Jan 13 07:16:24 UTC 2023
#57169: Prevent saving of invalid menu_item_parent
-----------------------------------+-----------------------
Reporter: azaozz | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.1.2
Component: Menus | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch fixed-major | Focuses:
-----------------------------------+-----------------------
Comment (by manooweb):
As @Chrystl said before, casting both operands in (string) fixes our
issue.
However I don't know what it could affect elsewhere in the core
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57169#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list