When I edit past events the date is wrong:
https://privatebin.net/?52a72042d9146e47#3hfdVFfpqSrrKUhiHPFKaDG879TSuvbVxnXbXTcRHcFh
The right date is 2025/02/24.
To show the right date on single event I must use:
$date = get_post_meta( $event_id, '_EventStartDateUTC', true ) ? get_post_meta( $event_id, '_EventStartDateUTC', true ) : '';
If I check from the database I have:
https://privatebin.net/?17fbfc85fb1f2efa#5Jk5Kwqo5ixYRNi4SDZPZnZ4QGUA7EHhUndoErynrsk5
Is this normal for past events?
Thanks.
]]>AddToAny supports a strict Content Security Policy if/when you enforce a stricter CSP.
]]>Thanks for the post and the care! ??
Our developers are still trying to narrow down the root cause of the issue, so the fix is taking a while and we still don’t have a definte ETA. ??
Please know that the plan to update User Menus with more features is still on the table, it’s just taking a little longer. ??
We appreciate your patience and understanding. ??
Please let us know if you have other questions.
]]>$current_user_email = wp_get_current_user();
$email = $current_user_email->user_email;
$list_id = '4'; // You can get this ID from the URL when editing the list
if ( class_exists( \MailPoet\API\API::class ) ) {
$mailpoet_api = \MailPoet\API\API::MP( 'v1' );
try {
// Find subscriber
$subscriber = $mailpoet_api->getSubscriber( $email );
// Check if the subscriber is subscribed to the specific list
$is_subscribed = false;
foreach ( $subscriber[ 'subscriptions' ] as $subscription ) {
if ( $subscription[ 'segment_id' ] === $list_id ) {
$is_subscribed = true;
break;
}
}
if ( $is_subscribed ) {
echo "The subscriber is subscribed to the list with ID $list_id.";
} else {
echo "The subscriber is NOT subscribed to the list with ID $list_id.";
}
} catch ( Exception $e ) {
if ( $e->getCode() === 4 ) {
echo 'Subscriber not found.';
} else {
echo "An error occurred: " . $e->getMessage();
}
}
}
and it mostly works, except for one issue.
But what I found might be an edge case: some users who are unsubscribed still show as subscribed with the above function on the front end, i.e. this user in this screenshot https://ibb.co/VYB6sLvX
that is from /wp-admin/admin.php?page=mailpoet-subscribers
is shown to be subscribed.
What is the difference between a user that is “Unsubscribed”, yet also shows to be in the New Post Emails list as shown in the screenshot?
Thanks!
]]>We suspect there is conflict with another Block plugin on your website.
Are you using other Block plugins?
Please deactivate other Block plugins one by one temporarily to see which plugin might cause this conflict.
Then we can work to resolve this conflict.
Best regards,
]]>Thanks for your message. Can you please share the fatal PHP error code or the error log? So I can get an idea of what is creating this error and fix it quickly.
Thanks for your understanding.
Regards.
]]>Please, how can I change the Email field background to grey ( #808080), while the Text remains white ?
2.) and change the Colour of the “Checked State” of the Checkbox for Terms and Agreement to grey ( #808080 ) when it is clicked?
Regards.
]]>