WordPress.org

Ready to get started?Download WordPress

Forums

add_post_meta/update_post_meta = automatically sanitized? (2 posts)

  1. brownie-ll
    Member
    Posted 3 years ago #

    I've put together a custom meta box which has some input fields, that writes to the postmeta table using add_post_meta/update_post_meta. From doing some quick checks it appears that any data using this function is automatically sanitized to prevent SQL injections and the like.

    Is this correct or should I be doing further sanitization on my inputs?

  2. 123milliseconds
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic