Changes between Initial Version and Version 1 of Ticket #54385, comment 27
- Timestamp:
- 11/16/2021 09:25:00 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54385, comment 27
initial v1 6 6 > * Remove an extra empty line 7 7 > * remove unnecessary `global $wpdb;` 8 `str_contains()` is new in PHP8. Not everyone has access to PHP8 (one of the many reasons why I took my hosting away from 123-Reg was because they don't offer the latest version of PHP). So I suggest retain the less elegant `strpos()` for now to maintain backward compatibility.