Make WordPress Core

Changeset 55704


Ignore:
Timestamp:
05/03/2023 09:56:32 AM (17 months ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/bookmark.php

    r54891 r55704  
    3535    }
    3636
    37     $_POST['link_url']   = esc_html( $_POST['link_url'] );
    3837    $_POST['link_url']   = esc_url( $_POST['link_url'] );
    3938    $_POST['link_name']  = esc_html( $_POST['link_name'] );
Note: See TracChangeset for help on using the changeset viewer.