Automattic / Co-Authors-Plus

Multiple bylines and Guest Authors for WordPress
https://wordpress.org/plugins/co-authors-plus/
GNU General Public License v2.0
290 stars 205 forks source link

Issue with apostrophes in names #937

Open thedanielcho opened 1 year ago

thedanielcho commented 1 year ago

Hello, our site was having an issue with the co-authors plugin wherein if a user had a name with an apostrophe in it, on the edit-post page, it would display the apostrophe in the name as &$:! (ex. Jonathan O'Reily turned into Jonathan O&$:!Reily). For the time being we have resolved this issue by modifying the plugin on line 214 of class-coauthors-endpoint.php and switched the esc_html function call to strip_tags which worked on our end, but we would appreciate support from your end if this solution isn't ideal. Thank you.