Skip to content

Commit

Permalink
#2873 Lets not break other designs
Browse files Browse the repository at this point in the history
  • Loading branch information
MARQAS committed Mar 14, 2019
1 parent 64fe359 commit 5182927
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions templates/design-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@

// add_filter( 'ampforwp_design_elements', 'ampforwp_add_element_simple_comment_button' );
}
add_action( 'amp_init', "ampforwp_design_customizer" );
function ampforwp_design_customizer(){
if(!ampforwp_is_amp_endpoint()){
return false;
}

$data = get_option( 'ampforwp_design' );

// Adding default Value
Expand Down Expand Up @@ -77,7 +73,6 @@ function ampforwp_design_customizer(){
}
}
}
}


// Design Selector
Expand Down

0 comments on commit 5182927

Please sign in to comment.