Skip to content

Commit

Permalink
Merge pull request #2733 from kobizz/release/1.8.3
Browse files Browse the repository at this point in the history
Fixed condition. Fixes #2732
  • Loading branch information
KingYes authored Nov 11, 2017
2 parents 2f19a9b + d3c6956 commit 5f27b77
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 5f27b77

Please sign in to comment.