aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
author3D-I <480857+3D-I@users.noreply.github.com>2019-09-22 05:58:59 +0200
committer3D-I <480857+3D-I@users.noreply.github.com>2019-09-22 05:59:02 +0200
commit813a55b01d5a81559d8b2d8fab45a4c6157a222a (patch)
tree7d2e6d212858f207ea1ee3b5bb85e2421e4905de /phpBB
parent0b2a0cc9b462fc158ed1b059426868cf97a16105 (diff)
downloadforums-813a55b01d5a81559d8b2d8fab45a4c6157a222a.tar
forums-813a55b01d5a81559d8b2d8fab45a4c6157a222a.tar.gz
forums-813a55b01d5a81559d8b2d8fab45a4c6157a222a.tar.bz2
forums-813a55b01d5a81559d8b2d8fab45a4c6157a222a.tar.xz
forums-813a55b01d5a81559d8b2d8fab45a4c6157a222a.zip
[ticket/16161] Enable BBcodes without closing tag
PHPBB3-16161
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/acp/acp_bbcodes.php5
-rw-r--r--phpBB/language/en/acp/posting.php1
2 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_bbcodes.php b/phpBB/includes/acp/acp_bbcodes.php
index 56079061ce..bd8df6a63b 100644
--- a/phpBB/includes/acp/acp_bbcodes.php
+++ b/phpBB/includes/acp/acp_bbcodes.php
@@ -211,11 +211,6 @@ class acp_bbcodes
$test = $data['bbcode_tag'];
}
- if (!preg_match('%\\[' . $test . '[^]]*].*?\\[/' . $test . ']%s', $bbcode_match))
- {
- trigger_error($user->lang['BBCODE_OPEN_ENDED_TAG'] . adm_back_link($this->u_action), E_USER_WARNING);
- }
-
if (strlen($data['bbcode_tag']) > 16)
{
trigger_error($user->lang['BBCODE_TAG_TOO_LONG'] . adm_back_link($this->u_action), E_USER_WARNING);
diff --git a/phpBB/language/en/acp/posting.php b/phpBB/language/en/acp/posting.php
index 119ad2d7e9..823f0e8471 100644
--- a/phpBB/language/en/acp/posting.php
+++ b/phpBB/language/en/acp/posting.php
@@ -56,7 +56,6 @@ $lang = array_merge($lang, array(
'BBCODE_INVALID_TAG_NAME' => 'The BBCode tag name that you selected already exists.',
'BBCODE_INVALID' => 'Your BBCode is constructed in an invalid form.',
- 'BBCODE_OPEN_ENDED_TAG' => 'Your custom BBCode must contain both an opening and a closing tag.',
'BBCODE_TAG' => 'Tag',
'BBCODE_TAG_TOO_LONG' => 'The tag name you selected is too long.',
'BBCODE_TAG_DEF_TOO_LONG' => 'The tag definition that you have entered is too long, please shorten your tag definition.',