Changeset 2271
- Timestamp:
- 01/11/2016 09:54:51 PM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/wporg-gp-routes.php
r2270 r2271 24 24 if ( gp_startswith( $request_uri, '/' . GP::$router->api_prefix . '/' ) ) { // API requests. 25 25 // Delete default routes. 26 GP::$router->remove( "/languages/$locale");26 GP::$router->remove( "/languages/$locale" ); 27 27 } else { 28 28 // Delete default routes. 29 GP::$router->remove("/languages/$locale"); 30 GP::$router->remove("/languages/$locale/$path"); 29 GP::$router->remove( "/languages/$locale" ); 30 GP::$router->remove( "/languages/$locale/$path" ); 31 GP::$router->remove( '/profile/(.+?)' ); 31 32 32 33 // Redirect routes.
Note: See TracChangeset
for help on using the changeset viewer.