Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
3.3.5, 3.4.2, 3.5
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
wip-
MDL-61746-master -
Easy
-
Description
I'm reporting this bug as an easy fix-able one, so a good one for first-time committer that wants to start contributing to Moodle.
There are typos (recieving and sanitse) in the in-line documentation:
/**
|
* PARAM_CLEANHTML - cleans submitted HTML code. Note that you almost never want
|
* to use this. The normal mode of operation is to use PARAM_RAW when recieving
|
* the input (required/optional_param or formslib) and then sanitse the HTML
|
* using format_text on output. This is for the rare cases when you want to
|
* sanitise the HTML on input. This cleaning may also fix xhtml strictness.
|
*/
|
define('PARAM_CLEANHTML', 'cleanhtml'); |
Link to the code on github: https://github.com/moodle/moodle/blob/master/lib/moodlelib.php#L116