Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookmark Administration on edit_link function in extra remove ( ['lin… #4416

Closed
wants to merge 1 commit into from
Closed

Bookmark Administration on edit_link function in extra remove ( ['lin… #4416

wants to merge 1 commit into from

Conversation

utsavtilava
Copy link

@utsavtilava utsavtilava commented May 3, 2023

I have checked in edit_link function on wp-admin/includes/bookmark.php

And if I look at the code there are add an extra esc_html function to sanitize the ( $_POSTlink_url? ).

After reviewing the example provided for the add_link action, it appears that there is no need to include an esc_html function when handling the ( $_POSTlink_url? ) parameter.

Can you please check my patch and share your feedback.

EDITED by @audrasjb to add a link to the Trac ticket
Trac Ticket: https://core.trac.wordpress.org/ticket/58239

@audrasjb
Copy link
Contributor

audrasjb commented May 3, 2023

@audrasjb audrasjb closed this May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants