From dc385967a9b513caf48b86963ce651adb59177f5 Mon Sep 17 00:00:00 2001 From: DAnn2012 Date: Mon, 2 Mar 2026 21:59:42 +0100 Subject: [PATCH] Update Plugin.php --- EmbedPress/Plugins/Plugin.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/EmbedPress/Plugins/Plugin.php b/EmbedPress/Plugins/Plugin.php index c342e1986..0bf1e5ea0 100644 --- a/EmbedPress/Plugins/Plugin.php +++ b/EmbedPress/Plugins/Plugin.php @@ -59,7 +59,13 @@ protected static function isEmbedPressActive() protected static function getErrorMessage($err = '') { if ($err === 'ERR_MISSING_DEPENDENCY') { - return __('Please, install and activate ' . EMBEDPRESS . ' plugin in order to make ' . EMBEDPRESS . ' - ' . static::NAME . ' to work.'); + return sprintf( + __("Please, install and activate %s plugin in order to make %s - %s work.", 'embedpress'), + EMBEDPRESS_PLG_NAME, + EMBEDPRESS, + EMBEDPRESS, + static::NAME + ); } return $err;