Making WordPress.org


Ignore:
Timestamp:
02/18/2016 11:18:12 PM (9 years ago)
Author:
ocean90
Message:

Translate: Include an optional trailing slash in the route for [2530].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-routes/wporg-gp-routes.php

    r2530 r2531  
    6363            GP::$router->prepend( '/languages', array( 'WPorg_GP_Route_Redirector', 'redirect_languages' ) );
    6464            GP::$router->prepend( "/languages/$path", array( 'WPorg_GP_Route_Redirector', 'redirect_languages' ) );
    65             GP::$router->prepend( '/projects/wp-plugins', array( 'GP_WPorg_Route_Redirector', 'redirect_index' ) );
    66             GP::$router->prepend( '/projects/wp-themes', array( 'GP_WPorg_Route_Redirector', 'redirect_index' ) );
     65            GP::$router->prepend( '/projects/wp-plugins/?', array( 'WPorg_GP_Route_Redirector', 'redirect_index' ) );
     66            GP::$router->prepend( '/projects/wp-themes/?', array( 'WPorg_GP_Route_Redirector', 'redirect_index' ) );
    6767
    6868            // Register custom routes.
Note: See TracChangeset for help on using the changeset viewer.