Skip to content

Issue with apostrophes in names #937

Open
@thedanielcho

Description

@thedanielcho

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions