Skip to content

Commit

Permalink
Fixed condition. Fixes elementor#2732
Browse files Browse the repository at this point in the history
  • Loading branch information
kobizz committed Nov 10, 2017
1 parent 2f19a9b commit d3c6956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/managers/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public function ajax_render_widget() {
* @access public
*/
public function ajax_get_wp_widget_form() {
if ( Plugin::$instance->editor->verify_request_nonce() ) {
if ( ! Plugin::$instance->editor->verify_request_nonce() ) {
die;
}

Expand Down

0 comments on commit d3c6956

Please sign in to comment.