mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Use correct variable in themes JS, fixes themes.php.
props SergeyBiryukov. fixes #27360. git-svn-id: https://develop.svn.wordpress.org/trunk@27509 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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' )
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user