Make WordPress Core


Ignore:
Timestamp:
10/06/2023 02:04:22 PM (14 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r56614 r56793  
    355355require ABSPATH . WPINC . '/block-supports/typography.php';
    356356require ABSPATH . WPINC . '/block-supports/settings.php';
    357 require ABSPATH . WPINC . '/navigation-fallback.php';
    358357require ABSPATH . WPINC . '/style-engine.php';
    359358require ABSPATH . WPINC . '/style-engine/class-wp-style-engine.php';
Note: See TracChangeset for help on using the changeset viewer.