Automattic / Automattic/jetpack

PHPCS - Use prepared sql

Open
#17,241 0 comments 0 reactions 1 assignee Claimed by @mdbitz View on GitHub
[Package] Sync [Type] Janitorial
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

https://github.com/Automattic/jetpack/blob/95666aec26aca6860835a01413297d70891e5ec5/packages/sync/src/modules/class-module.php#L278

To align with PHPCS standards we need to switch this SQL to use prepared SQL to ensure proper escaping.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.