- Timestamp:
- 11/05/2021 02:29:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r51786 r52017 16 16 */ 17 17 class WP_REST_Themes_Controller extends WP_REST_Controller { 18 19 const PATTERN = '[^.\/]+(?:\/[^.\/]+)?'; 18 20 19 21 /** … … 51 53 register_rest_route( 52 54 $this->namespace, 53 '/' . $this->rest_base . '/(?P<stylesheet>[\w-]+)',55 sprintf( '/%s/(?P<stylesheet>%s)', $this->rest_base, self::PATTERN ), 54 56 array( 55 57 'args' => array(
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)