Changeset 2051
- Timestamp:
- 11/06/2015 08:57:25 PM (9 years ago)
- Location:
- sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/wporg-routes.php
r1750 r2051 9 9 require_once __DIR__ . '/routes/index.php'; 10 10 require_once __DIR__ . '/routes/locale.php'; 11 require_once __DIR__ . '/routes/wp-plugins.php'; 11 12 12 13 class GP_WPorg_Routes extends GP_Plugin { … … 42 43 GP::$router->prepend( "/locale/$locale/$path/$path", array( 'GP_WPorg_Route_Locale', 'get_locale_projects' ) ); 43 44 GP::$router->prepend( "/locale/$locale/$path/$path/$path", array( 'GP_WPorg_Route_Locale', 'get_locale_project' ) ); 45 46 $project = '([^/]*)/?'; 47 GP::$router->prepend( "/projects/wp-plugins/$project", array( 'GP_WPorg_Route_WP_Plugins', 'get_plugin_projects' ) ); 44 48 } 45 49 }
Note: See TracChangeset
for help on using the changeset viewer.