Add tiff to allowed BBCode images
This commit is contained in:
parent
c5587bf62f
commit
bc740ffe50
@ -1355,7 +1355,7 @@ if ( ! function_exists( 'fictioneer_bbcodes' ) ) {
|
||||
|
||||
function fictioneer_bbcodes( $content ) {
|
||||
// Setup
|
||||
$img_search = 'https:[^\"\'|;<>\[\]]+?\.(?:png|jpg|jpeg|gif|webp|svg|avif)';
|
||||
$img_search = 'https:[^\"\'|;<>\[\]]+?\.(?:png|jpg|jpeg|gif|webp|svg|avif|tiff)';
|
||||
$url_search = '(http|ftp|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?';
|
||||
|
||||
// Deal with some multi-line spoiler issues
|
||||
|
Loading…
x
Reference in New Issue
Block a user