Use correct variable in themes JS, fixes themes.php.
props SergeyBiryukov. fixes #27360. Built from https://develop.svn.wordpress.org/trunk@27509 git-svn-id: http://core.svn.wordpress.org/trunk@27352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cc7f0b61ec
commit
8e6ec4f72c
|
@ -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' )
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue