In version 6.2, WordPress introduced a new %i variable via changeset 55151. It is for use with $wpdb->prepare to safely escape table and column names in database queries.
While CP v2 inherited this update, neither WPCS nor CPCS has been updated. As a consequence, CPCS generates lots of errors when the new variable is used (e.g. in a plugin, which is where I have come across this). It would be great to have support added for the %i parameter.
In version 6.2, WordPress introduced a new
%ivariable via changeset 55151. It is for use with$wpdb->prepareto safely escape table and column names in database queries.While CP v2 inherited this update, neither WPCS nor CPCS has been updated. As a consequence, CPCS generates lots of errors when the new variable is used (e.g. in a plugin, which is where I have come across this). It would be great to have support added for the
%iparameter.