Fix BC compatibility for Elementor properly
[MAILPOET-1863]
This commit is contained in:
committed by
M. Shull
parent
2ccfe14708
commit
1e658a8dc6
@@ -32,7 +32,7 @@ class Setting extends Model {
|
||||
public static function getValue($key, $default = null) {
|
||||
trigger_error('Calling Settings::getValue() is deprecated and will be removed. Use \MailPoet\Settings\SettingsController instead.', E_USER_DEPRECATED);
|
||||
$settings = new SettingsController();
|
||||
$settings->get($key, $default);
|
||||
return $settings->get($key, $default);
|
||||
}
|
||||
|
||||
public static function getAll() {
|
||||
|
Reference in New Issue
Block a user