mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15008] Disable emoji when smilies are disabled
Will effectively disable emoji shortname and won't replace emoji with images but will not prevent a browser or OS from displaying emoji as images. PHPBB3-15008
This commit is contained in:
@@ -142,6 +142,7 @@ class parser implements \phpbb\textformatter\parser_interface
|
||||
public function disable_smilies()
|
||||
{
|
||||
$this->parser->disablePlugin('Emoticons');
|
||||
$this->parser->disablePlugin('Emoji');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -183,6 +184,7 @@ class parser implements \phpbb\textformatter\parser_interface
|
||||
public function enable_smilies()
|
||||
{
|
||||
$this->parser->enablePlugin('Emoticons');
|
||||
$this->parser->enablePlugin('Emoji');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user