Ok - I dig it bit further.
I've enable the classic editor to edit the post and if you try to update the following gym post after selecting the option "Don't send alerts this time" from the "Subscription Options" metabox on right sidebar and update the post:
- hidden link
I can see request is not finished and it shows the following message:
Could not verify Subscription Options.
When I checked the "Content Notify" plugin files:
- plugins\content-notify\includes\class-cn.php on line #218 I can see the following line of code that triggers the "save_post" hook action and that calls the function "cn_metabox_options_save":
$this->loader->add_action( 'save_post', $plugin_admin, 'cn_metabox_options_save' );
The function "cn_metabox_options_save" code is added to the following file on line number #3082:
- plugins\content-notify\admin\class-cn-admin.php
public function cn_metabox_options_save( $post_id ) {
$in_excluded_post_types = $this->helper->cn_list_exclude_post_types( get_post_type( $post_id ) );
// Excluded Post Types
if ( $in_excluded_post_types ) {
return;
}
// Customizer
if ( isset( $_POST['wp_customize'] ) && $_POST['wp_customize'] == 'on' ) {
return;
}
// Listivo Theme
if ( isset( $_POST['model'] ) ) {
return;
}
// Toolset Types - Custom Fields
if ( isset( $_GET['meta-box-loader'] ) ) {
return;
}
// Toolset Types - Relationship Field
if ( isset( $_POST['relationship_slug'] ) ) {
return;
}
if ( isset( $_POST['nonce'] ) && wp_verify_nonce( $_POST['nonce'], 'cn_nonce' ) ) {
$cn_errors = new WP_Error();
// Don't ever send alerts for this post
if ( isset( $_POST['_cn_metabox_post_checkbox_dont_send_ever'] ) ) {
update_post_meta( $post_id, '_cn_metabox_post_checkbox_dont_send_ever', true );
}
else {
update_post_meta( $post_id, '_cn_metabox_post_checkbox_dont_send_ever', false );
}
if ( $cn_errors ) {
$user_id = get_current_user_id();
set_transient( 'cn_save_errors_' . $post_id . '_' . $user_id, $cn_errors, 45 );
}
}
elseif ( isset( $_POST['nonce'] ) && !wp_verify_nonce( $_POST['nonce'], 'cn_nonce' ) ) {
echo 'Could not verify Subscription Options.';
exit();
}
}
As you can see the following part of elseif code is triggered:
elseif ( isset( $_POST['nonce'] ) && !wp_verify_nonce( $_POST['nonce'], 'cn_nonce' ) ) {
echo 'Could not verify Subscription Options.';
exit();
}
I see they did added some code related to Toolset:
// Toolset Types - Custom Fields
if ( isset( $_GET['meta-box-loader'] ) ) {
return;
}
// Toolset Types - Relationship Field
if ( isset( $_POST['relationship_slug'] ) ) {
return;
}
But in this case - You will have to raise the ticket at "Content Notify" plugin support and raise the same case which you raise in front of us.