Opened 3 years ago
Closed 3 years ago
#60813 closed defect (bug) (invalid)
MariaDB generating error when we are using %s as placeholder for table name when CS(code sniffer) suggest to used %s instead %i
| Reported by: | chiragrathod103 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Database | Version: | |
| Severity: | normal | Keywords: | reporter-feedback close |
| Cc: | Focuses: |
Description
ERROR WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
The %i modifier is only supported in WP 6.2 or higher. Found: "%i".
Change History (3)
Note:
See TracTickets
for help on using tickets.
Where is this error being reported? In WordPress core?
If not, you should report such things to the affected plugin or theme. If this happens in your own project, the error message is pretty self-explanatory. "%i" is only supported on WP 6.2+, so if you support older versions you need to fall back to something else.
And if you believe there is an issue with the sniff itself, you should report it at https://github.com/WordPress/WordPress-Coding-Standards