[5.x] Prevent str_replace
warning when using Debugbar
#11148
Merged
str_replace
warning when using Debugbar
#11148