Skip to content

Conversation

@kevinlangleyjr
Copy link
Contributor

Description

Removing strip_tags() since it is already run within sanitize_text_field() per WP VIP Feedback.

Motivation and Context

Removes unnecessary call to strip_tags.

Risk Level

Minimal risk

Types of changes

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

Checklist:

@tw2113
Copy link
Contributor

tw2113 commented Apr 12, 2019

A little nested in the callstack, but I can confirm strip_tags() is run at some point through sanitize_text_field

@tw2113 tw2113 merged commit 8b1da3c into CMB2:develop Apr 12, 2019
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