Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.5, 2.0
-
Fix Version/s: 2.0.3
-
Component/s: Performance
-
Labels:
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
While looking into MDL-19554, I've noticed that format_text() returns
immediately if $text is '', but goes through full filtering/caching if
$text is NULL. Perhaps it can take the same shortcut? TIA.