Skip to content

Commit 092b054

Browse files
committed
Merge remote-tracking branch 'upstream/master-1.3.x' into master-1.3.x
2 parents b05fd53 + 505b5ac commit 092b054

File tree

4 files changed

+13
-58
lines changed

4 files changed

+13
-58
lines changed

BBCodePlus/BBCodePlus.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function register() {
2121
$this->name = plugin_lang_get( 'title' );
2222
$this->description = plugin_lang_get( 'description' );
2323
$this->page = 'config';
24-
$this->version = '1.3.14';
24+
$this->version = '1.3.15';
2525

2626
$this->requires['MantisCore'] = '1.3.0';
2727
# this plugin can coexist with MantisCoreFormatting.
@@ -85,7 +85,6 @@ function footer() {
8585
function csp_headers() {
8686
# relax csp when processing markitup.
8787
if ( (ON == plugin_config_get( 'process_markitup' )) && function_exists( 'http_csp_add' ) ) {
88-
http_csp_add( 'script-src', "'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js" );
8988
http_csp_add( 'img-src', "*" );
9089
http_csp_add( 'frame-ancestors', "'self'" );
9190
}

BBCodePlus/files/prism/clipboard.min.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)