Automattic / Automattic/jetpack
Refactor `wpcomsh_make_content_clickable`
Open
[Plugin] Wpcomsh
[Status] Stale
Task
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
This is a follow-up of [this discussion](https://github.com/Automattic/jetpack/pull/39931#issuecomment-2455410617).
The idea is to refactor the function `wpcomsh_make_content_clickable` to use `WP HTML API`. When it was written, we didn't have this, so it's a complex function with regexes and loops checking strings.
As we identified in [that PR](https://github.com/Automattic/jetpack/pull/39931), it's prone to errors.
Contributor guide
Assessment
This issue has not been assessed yet.