- Timestamp:
- 03/24/2025 11:57:08 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/class-wp-rest-request.php
r59899 r60073 495 495 } 496 496 497 // Exclude rest_route if pretty permalinks are not enabled. 498 if ( ! get_option( 'permalink_structure' ) ) { 499 unset( $params['rest_route'] ); 500 } 501 497 502 return $params; 498 503 }
Note: See TracChangeset
for help on using the changeset viewer.