Custom Fields
Support Meta Box Group Escaping and Sanitization

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 6 months, 2 weeks ago.

  • Creator
  • #14055
    Vinny Green

    The sanitize and esc_meta methods don’t actually do anything and needs to be fixed before I can use it. Since this isn’t a public extension I don’t want to maintain any changes.

Viewing 1 replies (of 1 total)
  • Author
  • #14056

    Anh Tran

    Hi Vinny,

    The sanitize method removes all empty values in the group. Empty values are empty string and empty array.

    The esc_meta simply overwrites parent’s method, to make the value of sub-fields not escaped.

    They’re not bugs and no need to fix them.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.