| @@ -28,9 +28,9 @@ | ||
| 28 | 28 | error_log( '[Cookiebot] ' . $message ); |
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - const COOKIEBOT_PLUGIN_VERSION = '4.7.2'; | |
| 32 | + const COOKIEBOT_PLUGIN_VERSION = '4.7.4'; | |
| 33 | 33 | const COOKIEBOT_MIN_PHP_VERSION = '5.6.0'; |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @var Cookiebot_WP The single instance of the class |
| @@ -486,9 +486,9 @@ | ||
| 486 | 486 | ); |
| 487 | 487 | |
| 488 | 488 | wp_enqueue_script( |
| 489 | 489 | 'cookiebot-helper', |
| 490 | - plugins_url( 'js/cookiebot-helper.js', dirname( __FILE__ ) ), | |
| 490 | + plugins_url( 'js/cookiebot-helper.js', __DIR__ ), | |
| 491 | 491 | array( 'jquery' ), |
| 492 | 492 | CYBOT_COOKIEBOT_VERSION, |
| 493 | 493 | true |
| 494 | 494 | ); |
| @@ -494,9 +494,9 @@ | ||
| 494 | 494 | ); |
| 495 | 495 | |
| 496 | 496 | wp_enqueue_script( |
| 497 | 497 | 'cookiebot-admin', |
| 498 | - plugins_url( 'js/cookiebot-admin.js', dirname( __FILE__ ) ), | |
| 498 | + plugins_url( 'js/cookiebot-admin.js', __DIR__ ), | |
| 499 | 499 | array( 'jquery' ), |
| 500 | 500 | CYBOT_COOKIEBOT_VERSION, |
| 501 | 501 | true |
| 502 | 502 | ); |