Skip to content

Commit fc2a0fd

Browse files
Merge pull request #75 from amenadiel/patch-static-muplugin
Calls enableMustUsePlugin as an instance method
2 parents d85766b + 84ff9e9 commit fc2a0fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Settings.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function addSettings()
204204
'rollbar_wp_advanced',
205205
array(
206206
'type' => UI::getSettingType('enable_must_use_plugin'),
207-
'default' => \Rollbar\Wordpress\Defaults::enableMustUsePlugin(),
207+
'default' => \Rollbar\Wordpress\Defaults::instance()->enableMustUsePlugin(),
208208
'description' => __('Allows Rollbar plugin to be loaded as early ' .
209209
'as possible as a Must-Use plugin. Activating / ' .
210210
'deactivating the plugin in the plugins admin panel ' .
@@ -421,4 +421,4 @@ public static function preUpdate($settings)
421421
}
422422
}
423423

424-
?>
424+
?>

0 commit comments

Comments
 (0)