fix comparison
This commit is contained in:
parent
b04538a2ab
commit
093bc3c88b
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$action_nonce = wp_create_nonce( 'activitypub_action' );
|
$action_nonce = wp_create_nonce( 'activitypub_action' );
|
||||||
if ( isset( $_REQUEST['post_url'] ) && $_REQUEST['page'] == "activitypub_tools" ) {
|
if ( isset( $_REQUEST['post_url'] ) && $_REQUEST['page'] === "activitypub_tools" ) {
|
||||||
$post_url = $_REQUEST['post_url'];
|
$post_url = $_REQUEST['post_url'];
|
||||||
$user_id = get_current_user_id();
|
$user_id = get_current_user_id();
|
||||||
if ( isset( $_REQUEST['submit_delete'] ) && wp_verify_nonce( $action_nonce, 'activitypub_action' ) ) {
|
if ( isset( $_REQUEST['submit_delete'] ) && wp_verify_nonce( $action_nonce, 'activitypub_action' ) ) {
|
||||||
|
|
Loading…
Reference in a new issue