Skip to content

Commit 53d4c2d

Browse files
committed
Bring up to date with 2.x master
1 parent 0b56a15 commit 53d4c2d

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)