mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +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:
18
tests/text_processing/tickets_data/PHPBB3-15008.before.php
Normal file
18
tests/text_processing/tickets_data/PHPBB3-15008.before.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* This file is part of the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
* For full copyright and license information, please see
|
||||
* the docs/CREDITS.txt file.
|
||||
*
|
||||
*/
|
||||
|
||||
function before_assert_phpbb3_15008($vars)
|
||||
{
|
||||
extract($vars);
|
||||
$parser->disable_smilies();
|
||||
}
|
Reference in New Issue
Block a user