From 1076d41bf5a4038b1cfd1cedc5eb08dd2df1100c Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Sun, 5 Jan 2025 15:44:52 -0600 Subject: [PATCH] This function already echos. --- src/my-calendar-location-manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/my-calendar-location-manager.php b/src/my-calendar-location-manager.php index 9cee67a4..38593958 100644 --- a/src/my-calendar-location-manager.php +++ b/src/my-calendar-location-manager.php @@ -127,7 +127,7 @@ function mc_clean_duplicate_locations() { $location = mc_get_location( $replace ); if ( ! $location ) { // If this isn't a valid location, don't continue. - echo mc_show_error( esc_html__( 'An invalid ID was provided for the replacement location.', 'my-calendar' ) ); + mc_show_error( esc_html__( 'An invalid ID was provided for the replacement location.', 'my-calendar' ) ); return; } $i = 0;