plugin updates
This commit is contained in:
@@ -45,9 +45,9 @@ class WpmfWatermark
|
||||
}
|
||||
|
||||
if (!empty($attachment_id)) {
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing -- No action, nonce is not required
|
||||
$galleryid = (int)$_POST['up_gallery_id'];
|
||||
if (is_plugin_active('wp-media-folder-gallery-addon/wp-media-folder-gallery-addon.php')) {
|
||||
// phpcs:ignore WordPress.Security.NonceVerification.Recommended, WordPress.Security.NonceVerification.Missing -- No action, nonce is not required
|
||||
$galleryid = isset($_POST['up_gallery_id']) ? (int)$_POST['up_gallery_id'] : 0;
|
||||
$watermark_exclude_public_gallery = wpmfGetOption('watermark_exclude_public_gallery');
|
||||
$watermark_exclude_photograph_gallery = wpmfGetOption('watermark_exclude_photograph_gallery');
|
||||
$check = false;
|
||||
|
||||
Reference in New Issue
Block a user