From 66016f2c12e7c7bd1df7355738a5aaecbc655ad5 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 3 May 2023 09:58:25 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@55704 git-svn-id: http://core.svn.wordpress.org/trunk@55216 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/bookmark.php | 1 - wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-admin/includes/bookmark.php b/wp-admin/includes/bookmark.php index abb068319c..30743f2b9a 100644 --- a/wp-admin/includes/bookmark.php +++ b/wp-admin/includes/bookmark.php @@ -34,7 +34,6 @@ function edit_link( $link_id = 0 ) { ); } - $_POST['link_url'] = esc_html( $_POST['link_url'] ); $_POST['link_url'] = esc_url( $_POST['link_url'] ); $_POST['link_name'] = esc_html( $_POST['link_name'] ); $_POST['link_image'] = esc_html( $_POST['link_image'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index b3b6203bf4..a9eae9d7c0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55703'; +$wp_version = '6.3-alpha-55704'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.