- Timestamp:
- 03/26/2026 01:24:51 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fixes-64393-restore-version-history/src/wp-includes/build/routes.php
r62122 r62127 89 89 90 90 // Page-specific route registration functions 91 // Page-specific route registration functions for connectors 92 if ( ! function_exists( 'wp_register_connectors_page_routes' ) ) { 93 /** 94 * Register routes for connectors page (full-page mode). 95 */ 96 function wp_register_connectors_page_routes() { 97 global $wp_connectors_routes_data; 98 wp_register_page_routes( $wp_connectors_routes_data, 'wp_register_connectors_route' ); 99 } 100 } 101 add_action( 'connectors_init', 'wp_register_connectors_page_routes' ); 102 103 if ( ! function_exists( 'wp_register_connectors_wp_admin_page_routes' ) ) { 104 /** 105 * Register routes for connectors page (wp-admin mode). 106 */ 107 function wp_register_connectors_wp_admin_page_routes() { 108 global $wp_connectors_routes_data; 109 wp_register_page_routes( $wp_connectors_routes_data, 'wp_register_connectors_wp_admin_route' ); 110 } 111 } 112 add_action( 'connectors-wp-admin_init', 'wp_register_connectors_wp_admin_page_routes' ); 113 91 114 // Page-specific route registration functions for site-editor 92 115 if ( ! function_exists( 'wp_register_site_editor_page_routes' ) ) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)