Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rest API: move hook that handles wp_navigation post type schema to WP_Navigation_Fallback #4957

Conversation

ramonjd
Copy link
Member

@ramonjd ramonjd commented Aug 3, 2023

Alternative to:

This PR moves the hook that updates the wp_navigation post response schema to a public method of WP_Navigation_Fallback and deletes the single file.

Why? To remove the necessity to add a single file for the hook.

Trac ticket: https://core.trac.wordpress.org/ticket/58910

…o a public method of WP_Navigation_Fallback

Delete the single file
@ramonjd ramonjd force-pushed the try/move-navigation-post-schema-hook-to-navigation-fallback-class branch from 7bb8f13 to 1102596 Compare September 27, 2023 23:43
@SergeyBiryukov
Copy link
Member

Thanks for the PR! Merged in r56793.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants