[wp-trac] [WordPress Trac] #60813: MariaDB generating error when we are using %s as placeholder for table name when CS(code sniffer) suggest to used %s instead %i

WordPress Trac noreply at wordpress.org
Wed Mar 20 10:30:49 UTC 2024


#60813: MariaDB generating error when we are using %s as placeholder for table name
when CS(code sniffer) suggest to used %s instead %i
-----------------------------+-----------------------------
 Reporter:  chiragrathod103  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Database         |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 **ERROR
 WordPress.DB.PreparedSQLPlaceholders.UnsupportedIdentifierPlaceholder
 **

 The %i modifier is only supported in WP 6.2 or higher. Found: "%i".

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60813>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list