Details
Description
When access the "Site Administration" block (login as admin) and try to "Add a new user" (or do something in the Accounts area), if you turn on the debugging mode (see screenshots), you will get a lot of warning messages. Seems like lib/weblib.php could use some clean up maybe...
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-14635 | glossary block help contains tags |
|
|
|
Yup, thanks Wen Hao!
that's one change we introduced recently about how the help buttons are printed. So, while keeping BC compatibility... we output that debug info.
IMO this must be addressed by:
Dongsheng, can you, please? I think Mathieu did those changes in helpbutton() function. Sure he can comment you about the correct way. I'm not 100% sure about that.
TIA!
- Change that debug to DEBUG_DEVELOPER level (hasn't sense to have it in NORMAL level)
- Fix the helpbutton() to use correct parameters.
- Perhaps we could look for current calls to that function using the $text parameter and fix all them?
Dongsheng, can you, please? I think Mathieu did those changes in helpbutton() function. Sure he can comment you about the correct way. I'm not 100% sure about that. TIA!