Skip to content

Commit 5839617

Browse files
committed
c2c_Plugin: Ignore a PHPCS warning that doesn't apply
1 parent a687887 commit 5839617

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* New: Add DEVELOPER-DOCS.md and move hooks documentation into it
1212
* Change: Update plugin framework to 067
1313
* 068:
14+
* Change: Ignore a PHPCS warning that doesn't apply
1415
* Change: Note compatibility through WP 6.7+
1516
* Change: Update copyright date (2025)
1617
* Unit tests:

‎c2c-plugin.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ public function get_manage_options_capability() {
397397
* Initializes options.
398398
*/
399399
public function init_options() {
400+
// phpcs:ignore PluginCheck.CodeAnalysis.SettingSanitization.register_settingDynamic -- sanitize_inputs() does indeed sanitize inputs
400401
register_setting( $this->admin_options_name, $this->admin_options_name, array( $this, 'sanitize_inputs' ) );
401402

402403
add_settings_section( 'default', '', array( $this, 'options_page_description' ), $this->plugin_file );

0 commit comments

Comments
 (0)