diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index ce9a835e22..a82b76ad44 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -47,7 +47,8 @@ themes.Model = Backbone.Model.extend({ this.set({ installURI: install, previewURI: preview, - id: this.get( 'slug' ) + // slug is for installation, id is for existing. + id: this.get( 'slug' ) || this.get( 'id' ) }); } });