Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion EmbedPress/Plugins/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ protected static function isEmbedPressActive()
protected static function getErrorMessage($err = '')
{
if ($err === 'ERR_MISSING_DEPENDENCY') {
return __('Please, <strong>install</strong> and <strong>activate <a href="https://wordpress.org/plugins/' . EMBEDPRESS_PLG_NAME . '" target="_blank" rel="noopener noreferrer">' . EMBEDPRESS . '</a></strong> plugin in order to make <em>' . EMBEDPRESS . ' - ' . static::NAME . '</em> to work.');
return sprintf(
__("Please, <strong>install</strong> and <strong>activate <a href='https://wordpress.org/plugins/%s' target='_blank' rel='noopener noreferrer'>%s</a></strong> plugin in order to make <em>%s - %s</em> work.", 'embedpress'),
EMBEDPRESS_PLG_NAME,
EMBEDPRESS,
EMBEDPRESS,
static::NAME
);
}

return $err;
Expand Down