WordPress.org

Making WordPress.org

Changeset 2270


Ignore:
Timestamp:
01/11/2016 08:17:11 PM (4 years ago)
Author:
ocean90
Message:

Translate: Use the template_redirect action for registering custom routes.

At init the query variables aren't initialized, therefore GP::$router->request_uri(); returns "/".

See #1352.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.