• Resolved David Gewirtz

    (@dgewirtz)


    When data in text fields is saved, does CMB2 perform basic security sanitations on those fields, or is that something that needs to be done manually?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    We most definitely do. We have our default sanitization functions and methods and we also offer the ability for users to provide their own callbacks if desired.

    I believe a lot of the handling there is done in the /includes/CMB2_Sanitize.php file but I know there’s instances of sanitization work elsewhere in the core files as well.

Viewing 1 replies (of 1 total)
  • The topic ‘Does CMB2 sanitize field data on save?’ is closed to new replies.