[wp-trac] [WordPress Trac] #57169: Prevent saving of invalid menu_item_parent
WordPress Trac
noreply at wordpress.org
Thu Feb 16 00:02:38 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 SergeyBiryukov):
In [changeset:"55352" 55352]:
{{{
#!CommitTicketReference repository="" revision="55352"
Coding Standards: Replace `strval()` with `(string)` type casting in
`wp_nav_menu()`.
This adjusts a newly introduced instance for consistency with the rest of
core.
Follow-up to [49108], [55059].
See #57169.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57169#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list