Changeset 2108 for sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/wporg-routes.php
- Timestamp:
- 11/22/2015 07:00:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/translate.wordpress.org/includes/gp-plugins/wporg-routes/wporg-routes.php
r2051 r2108 3 3 * Register custom routes for translate.wordpress.org. 4 4 * 5 * @author ocean90 5 * @author ocean90, obenland, dd32 6 6 */ 7 7 … … 9 9 require_once __DIR__ . '/routes/index.php'; 10 10 require_once __DIR__ . '/routes/locale.php'; 11 require_once __DIR__ . '/routes/stats-overview.php'; 11 12 require_once __DIR__ . '/routes/wp-plugins.php'; 12 13 … … 43 44 GP::$router->prepend( "/locale/$locale/$path/$path", array( 'GP_WPorg_Route_Locale', 'get_locale_projects' ) ); 44 45 GP::$router->prepend( "/locale/$locale/$path/$path/$path", array( 'GP_WPorg_Route_Locale', 'get_locale_project' ) ); 45 46 GP::$router->prepend( '/stats/?', array( 'GP_WPorg_Route_Stats', 'get_stats_overview' ) ); 46 47 $project = '([^/]*)/?'; 47 48 GP::$router->prepend( "/projects/wp-plugins/$project", array( 'GP_WPorg_Route_WP_Plugins', 'get_plugin_projects' ) );
Note: See TracChangeset
for help on using the changeset viewer.