Connections-Business-Directory / Connections

Directory Plugin for WordPress
https://connections-pro.com
GNU General Public License v2.0
26 stars 18 forks source link

cnEntry set name methods sanitization. #444

Closed shazahm1 closed 9 years ago

shazahm1 commented 9 years ago

The setter methods for the entry should be updated to use the sanitize_text_field() WP function.

shazahm1 commented 9 years ago

Nope follow how the post title in sanitized instead. Using sanitize_text_field() will strip characters from the name.