Skip to content

Commit f3097e9

Browse files
committed
Update path to rollbar snippit
1 parent 47ea7e1 commit f3097e9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Settings.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ public static function init() {
4444
array("jquery"),
4545
Plugin::VERSION
4646
);
47-
47+
4848
\wp_localize_script(
4949
'RollbarWordpressSettings.js',
5050
'RollbarWordpress',
5151
array(
52-
'plugin_url' => \plugin_dir_url(__FILE__) . "../",
52+
// This is used to load the rollbar snippet, assume the php8 version is more recent.
53+
'plugin_url' => \plugin_dir_url(__FILE__) . "../php8/",
5354
)
5455
);
5556

0 commit comments

Comments
 (0)