mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Editor: Move wp_navigation schema updating to WP_Navigation_Fallback class.
This aims to better align the navigation fallback implementation with core architecture and best practices. The function that updates the `wp_navigation` post response schema is now a public method of the `WP_Navigation_Fallback` class, so an extra file previously used for that specific function is no longer necessary. Follow-up to [56052]. Props ramonopoly, scruffian, isabel_brison, mukesh27, swissspidy, rajinsharwar, afercia, audrasjb, mikeschroder, JeffPaul, johnjamesjacoby, TimothyBlynJacobs, oglekler, SergeyBiryukov. Fixes #58910. git-svn-id: https://develop.svn.wordpress.org/trunk@56793 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -152,7 +152,7 @@ class WP_REST_Navigation_Fallback_Controller_Test extends WP_Test_REST_Controlle
|
||||
*
|
||||
* @ticket 58557
|
||||
*
|
||||
* @covers ::wp_add_fields_to_navigation_fallback_embedded_links
|
||||
* @covers WP_Navigation_Fallback::update_wp_navigation_post_schema
|
||||
*
|
||||
* @since 6.3.0 Added Navigation Fallbacks endpoint.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user