Skip to content

Conversation

@kevinlangleyjr
Copy link
Contributor

Description

Wrapping the return of CMB2->box_classes() in sanitize_html_class() per WP VIP Feedback.

Motivation and Context

Sanitizes the class of the CMB2 box.

Risk Level

Minimal risk

Testing procedure

  1. Add filter to cmb2_wrap_classes to add some class names with quotes or special characters.
  2. Create CMB2 metabox.
  3. Check CMB2 metabox classes.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

@tw2113 tw2113 merged commit db0e15f into CMB2:develop Apr 12, 2019
@tw2113
Copy link
Contributor

tw2113 commented Apr 12, 2019

This one looks like it'd be a good last moment extra cleanup check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants