mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
74c851c5a7
In PHP 8.2 and later, setting a value to an undeclared class property is deprecated and emits a deprecation notice. So we need to add missing class properties that still need to be declared.
20 lines
769 B
Plaintext
20 lines
769 B
Plaintext
Description of HTML Purifier library import into Moodle
|
|
|
|
* Make new (or delete contents of) /lib/htmlpurifier/
|
|
* Copy everything from /library/ folder to /lib/htmlpurifier/
|
|
* Copy CREDITS, LICENSE from root folder to /lib/htmlpurifier/
|
|
* Delete unused files:
|
|
HTMLPurifier.auto.php
|
|
HTMLPurifier.autoload.php
|
|
HTMLPurifier.autoload-legacy.php
|
|
HTMLPurifier.composer.php
|
|
HTMLPurifier.func.php
|
|
HTMLPurifier.includes.php
|
|
HTMLPurifier.kses.php
|
|
HTMLPurifier.path.php
|
|
* add locallib.php with Moodle specific extensions to /lib/htmlpurifier/
|
|
* add this readme_moodle.txt to /lib/htmlpurifier/
|
|
|
|
Local changes:
|
|
* 2023-06-06 Applied patch https://github.com/ezyang/htmlpurifier/pull/346 to avoid PHP 8.2 deprecations.
|
|
See MDL-78143 for more details. |