diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index 9bbfc7215d..56ea7222ba 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -533,8 +533,8 @@ function customize_themes_print_templates() { <# if ( data.active ) { #> <# } #> -
{{{ data.description }}}
<# if ( data.parent ) { #> diff --git a/wp-admin/js/theme.js b/wp-admin/js/theme.js index b114e36a1f..b095c97ad6 100644 --- a/wp-admin/js/theme.js +++ b/wp-admin/js/theme.js @@ -983,7 +983,7 @@ themes.view.Themes = wp.Backbone.View.extend({ // 'Add new theme' element shown at the end of the grid if ( themes.data.settings.canInstall ) { - this.$el.append( '' ); + this.$el.append( '' ); } this.parent.page++; diff --git a/wp-admin/js/theme.min.js b/wp-admin/js/theme.min.js index 91781e51b4..a2b69ebbd6 100644 --- a/wp-admin/js/theme.min.js +++ b/wp-admin/js/theme.min.js @@ -1 +1 @@ -window.wp=window.wp||{},function(a){var b,c;b=wp.themes=wp.themes||{},b.data=_wpThemeSettings,c=b.data.l10n,b.isInstall=!!b.data.settings.isInstall,_.extend(b,{model:{},view:{},routes:{},router:{},template:wp.template}),b.Model=Backbone.Model.extend({initialize:function(){var a;-1!==_.indexOf(b.data.installedThemes,this.get("slug"))&&this.set({installed:!0}),this.set({id:this.get("slug")||this.get("id")}),this.has("sections")&&(a=this.get("sections").description,this.set({description:a}))}}),b.view.Appearance=wp.Backbone.View.extend({el:"#wpbody-content .wrap .theme-browser",window:a(window),page:0,initialize:function(a){_.bindAll(this,"scroller"),this.SearchView=a.SearchView?a.SearchView:b.view.Search,this.window.bind("scroll",_.throttle(this.scroller,300))},render:function(){this.view=new b.view.Themes({collection:this.collection,parent:this}),this.search(),this.view.render(),this.$el.empty().append(this.view.el).addClass("rendered"),this.$el.append(''+c.error+"
'+c.error+"