plugin updates
This commit is contained in:
@@ -30,7 +30,7 @@ class Notices
|
||||
if (!class_exists('GFAPI')) {
|
||||
$notice = sprintf(__(
|
||||
'Warning: You need to <a href="%s">Activate Gravityforms</a> in order to use the Advanced Custom Fields: Gravityforms Add-on.',
|
||||
ACF_GF_FIELD_TEXTDOMAIN
|
||||
'acf-gravityforms-add-on'
|
||||
), admin_url('plugins.php'));
|
||||
|
||||
$this->createNotice($notice, $inline, $alt);
|
||||
@@ -50,7 +50,7 @@ class Notices
|
||||
if (!$this->forms) {
|
||||
$notice = sprintf(__(
|
||||
' Warning: There are no active forms. You need to <a href="%s">Create a New Form</a> in order to use the Advanced Custom Fields: Gravityforms Add-on.',
|
||||
ACF_GF_FIELD_TEXTDOMAIN
|
||||
'acf-gravityforms-add-on'
|
||||
), admin_url('admin.php?page=gf_new_form'));
|
||||
|
||||
$this->createNotice($notice, $inline, $alt);
|
||||
@@ -65,7 +65,7 @@ class Notices
|
||||
if (!function_exists('get_field')) {
|
||||
$notice = sprintf(__(
|
||||
'Warning: You need to <a href="%s">Activate Advanced Custom Fields</a> in order to use the Advanced Custom Fields: Gravityforms Add-on.',
|
||||
ACF_GF_FIELD_TEXTDOMAIN
|
||||
'acf-gravityforms-add-on'
|
||||
), admin_url('plugins.php'));
|
||||
|
||||
$this->createNotice($notice, $inline, $alt);
|
||||
|
||||
Reference in New Issue
Block a user