[wp-trac] [WordPress Trac] #58910: Reconsider wp_add_fields_to_navigation_fallback_embedded_links() location
WordPress Trac
noreply at wordpress.org
Tue Aug 1 15:41:13 UTC 2023
#58910: Reconsider wp_add_fields_to_navigation_fallback_embedded_links() location
----------------------------+-----------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses: rest-api
----------------------------+-----------------------
Comment (by SergeyBiryukov):
Replying to [comment:6 audrasjb]:
> do you plan on committing this change?
I think this could use some more testing.
I'm not familiar with the navigation fallback code yet, specifically how
the `WP_REST_Navigation_Fallback_Controller` class relates to
`WP_REST_Posts_Controller`, where the
`rest_{$this->post_type}_item_schema` filter (utilized here) is applied.
I would like to take a closer look at all the interactions here later
today, but most likely after 6.3 RC3.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58910#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list