Changeset 10360
- Timestamp:
- 10/11/2020 07:44:46 PM (4 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/class-plugin.php
r9904 r10360 64 64 add_action( 'rest_api_init', array( __NAMESPACE__ . '\REST_API\Base', 'load_endpoints' ) ); 65 65 66 //Locales\Serbian_Latin::init(); 67 66 68 if ( defined( 'WP_CLI' ) && WP_CLI ) { 67 69 $this->register_cli_commands(); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/inc/class-plugin.php
r10056 r10360 115 115 116 116 $locale = '(' . implode( '|', array_map( function( $locale ) { return $locale->slug; }, GP_Locales::locales() ) ) . ')'; 117 $sets = '(default|formal|informal|ao90|valencia )';117 $sets = '(default|formal|informal|ao90|valencia|latin)'; 118 118 119 119 if ( gp_startswith( $request_uri, '/' . GP::$router->api_prefix . '/' ) ) { // API requests.
Note: See TracChangeset
for help on using the changeset viewer.