From 1478afb2368b60e814ac3550cac2dbcc35684e26 Mon Sep 17 00:00:00 2001 From: nacin Date: Tue, 8 Apr 2014 04:12:02 +0000 Subject: [PATCH] Theme Installer: Use 'browse' instead of 'sort' for routes. see #27055. git-svn-id: https://develop.svn.wordpress.org/trunk@28035 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/theme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index 794f97c8d4..9af1718ca9 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -1366,7 +1366,7 @@ themes.view.Installer = themes.view.Appearance.extend({ this.sort( sort ); // Trigger a router.naviagte update - themes.router.navigate( themes.router.baseUrl( '?sort=' + sort ) ); + themes.router.navigate( themes.router.baseUrl( '?browse=' + sort ) ); }, sort: function( sort ) { @@ -1528,7 +1528,7 @@ themes.view.Installer = themes.view.Appearance.extend({ themes.InstallerRouter = Backbone.Router.extend({ routes: { 'theme-install.php?theme=:slug': 'preview', - 'theme-install.php?sort=:sort': 'sort', + 'theme-install.php?browse=:sort': 'sort', 'theme-install.php?upload': 'upload', 'theme-install.php?search=:query': 'search', '': 'sort'