We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8277f45 commit ae9ae56Copy full SHA for ae9ae56
1 file changed
src/Bridge.php
@@ -57,9 +57,9 @@ public static function initialize()
57
}
58
define('WEBPATH', \Sledgehammer\WEBPATH);
59
60
- if (WP_DEBUG || !empty($_GET[\Sledgehammer\DEBUG_VAR])) {
+ if (WP_DEBUG) {
61
add_action('admin_enqueue_scripts', function () {
62
- wp_enqueue_style('sh-debug', '/../core/css/debug.css');
+ wp_enqueue_style('sh-debug', 'https://rawgit.com/sledgehammer/core/master/public/css/debug.css');
63
});
64
add_action('admin_footer', [self::class, 'statusbar']);
65
add_action('wp_footer', [self::class, 'statusbar']);
0 commit comments