Fix textdomain deprecation
This commit is contained in:
@@ -34,7 +34,7 @@ class Plugin extends PluginBase {
|
||||
parent::__construct(__FILE__);
|
||||
|
||||
$this->add_requirement('advanced-custom-fields', [
|
||||
'name' => __('Advanced Custom Fields PRO', $this->get_textdomain()),
|
||||
'name' => 'Advanced Custom Fields PRO',
|
||||
'url' => 'https://www.advancedcustomfields.com/',
|
||||
'type' => self::REQUIREMENT_PLUGIN,
|
||||
'plugin' => 'advanced-custom-fields-pro/acf.php',
|
||||
|
||||
Reference in New Issue
Block a user