Skip to content

Issues with apostrophes in Friend's name #572

@jeherve

Description

@jeherve

I recently added a new friend with an apostrophe in their name. This causes issues when trying to view their post, or edit the friend's details: the apostrophe in the https://mysite.com/wp-admin/admin.php?page=edit-friend&user= URL causes issues, all I get is an invalid username error:

    wp_die()
    wp-content/plugins/friends/includes/class-admin.php:1088
    Friends\Admin->check_admin_edit_friend()
    wp-content/plugins/friends/includes/class-admin.php:1102
    Friends\Admin->process_admin_edit_friend()
    wp-includes/class-wp-hook.php:324
    do_action('load-friends_page_edit-friend')
    wp-admin/admin.php:238

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions