WordPress.org

Make WordPress Core

Changeset 28035


Ignore:
Timestamp:
04/08/14 04:12:02 (11 months ago)
Author:
nacin
Message:

Theme Installer: Use 'browse' instead of 'sort' for routes.

see #27055.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/theme.js

    r28033 r28035  
    13671367 
    13681368        // Trigger a router.naviagte update 
    1369         themes.router.navigate( themes.router.baseUrl( '?sort=' + sort ) ); 
     1369        themes.router.navigate( themes.router.baseUrl( '?browse=' + sort ) ); 
    13701370    }, 
    13711371 
     
    15291529    routes: { 
    15301530        'theme-install.php?theme=:slug': 'preview', 
    1531         'theme-install.php?sort=:sort': 'sort', 
     1531        'theme-install.php?browse=:sort': 'sort', 
    15321532        'theme-install.php?upload': 'upload', 
    15331533        'theme-install.php?search=:query': 'search', 
Note: See TracChangeset for help on using the changeset viewer.