From 1c7562cde59485aec119d297eac4bfb5df0c2cd5 Mon Sep 17 00:00:00 2001 From: Dipak Kumar Pusti Date: Fri, 6 Dec 2024 10:55:26 +0530 Subject: [PATCH] Update mercator.php Invalid $site_id variable --- mercator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mercator.php b/mercator.php index 10b0290..c3ba73f 100644 --- a/mercator.php +++ b/mercator.php @@ -263,7 +263,7 @@ function clear_mappings_on_delete( $site ) { $message = sprintf( __( 'Unable to delete mapping %1$d for site %2$d', 'mercator' ), $mapping->get_id(), - $site_id + $site->id ); trigger_error( $message, E_USER_WARNING ); }