Skip to content

Commit

Permalink
fix entities in gutenberg drop for page templates, fixes Codeinwp/the…
Browse files Browse the repository at this point in the history
  • Loading branch information
selul committed Apr 2, 2019
1 parent 770990c commit 5c98c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class-full-width-templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class FullWidthTemplates {
protected function init() {
// Add your templates to this array.
$this->templates = apply_filters( 'fwpt_templates_list', array(
'templates/builder-fullwidth.php' => '↔ ' . __( 'Page Builder - Full Width - Blank', 'textdomain' ),
'templates/builder-fullwidth-std.php' => '↔ ' . __( 'Page Builder - Full Width', 'textdomain' ),
'templates/builder-fullwidth.php' => html_entity_decode( '↔ ' ) . __( 'Page Builder - Full Width - Blank', 'textdomain' ),
'templates/builder-fullwidth-std.php' => html_entity_decode( '↔ ' ) . __( 'Page Builder - Full Width', 'textdomain' ),
) );

add_filter( 'theme_page_templates', array( $this, 'add_pages_in_dropdown' ) );
Expand Down

0 comments on commit 5c98c9f

Please sign in to comment.