79595264

Date: 2025-04-27 17:06:20
Score: 1.5
Natty:
Report link

I think the PCP warning is wrong. Some times false warning is shown by PCP for dynamic class method callback. If you can't find any solution to the warning then you can suppress the warning.

// phpcs:ignore PluginCheck.CodeAnalysis.SettingSanitization.register_settingDynamic
register_setting(
    'ailpg_business_profile',
    'ailpg_contact_emails',
    array(
        'type' => 'string',
        'sanitize_callback' => [$this, 'sanitize_emails'],
        'default' => ''
    )
);
Reasons:
  • Blacklisted phrase (1.5): any solution
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bulbul islam