[wp-trac] [WordPress Trac] #58239: Bookmark Administration on edit_link function in extra remove ( $_POST['link_url'] = esc_html( $_POST['link_url'] ); )

WordPress Trac noreply at wordpress.org
Wed May 3 09:56:47 UTC 2023


#58239: Bookmark Administration on edit_link function in extra remove (
$_POST['link_url']   = esc_html( $_POST['link_url'] ); )
----------------------------+-------------------------------
 Reporter:  utsav72640      |       Owner:  audrasjb
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.3
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------
Changes (by audrasjb):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55704" 55704]:
 {{{
 #!CommitTicketReference repository="" revision="55704"
 Coding Standards: Remove unnecessary variable escapement in Bookmark
 Administration API.

 This changeset removes an unnecessary `esc_html()` escapement for
 `link_url`, as `esc_url()` already does the job.

 Follow-up to [11383].

 Props utsav72640, audrasjb.
 Fixes #58239.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58239#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list