User tests: Successful: Unsuccessful:
When preg_replace is used, the first argument should be a regular expression. If it’s not a regex then str_replace does exactly the same thing as preg_replace without the performance drawback of the regex.
code review
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Category | ⇒ | Administration com_admin |
Status | New | ⇒ | Pending |
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-23 09:35:10 |
Closed_By | ⇒ | HLeithner | |
Labels |
Added:
PR-5.0-dev
|