From 59557e4c6eb9e1ae18af5b5cf421c2dc3fb58876 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 29 Sep 2023 21:39:25 +0000 Subject: [PATCH] Customize: Harden and modernize URL manipulation in `WP_Customize_Manager::remove_frameless_preview_messenger_channel()`. Since IE11 is no longer supported, the `URL` and `URLSearchParams` APIs can now be leveraged for simpler and more robust URL manipulation. This was done similarly in [56383] for `embed.js`. Props nicolefurlan, dmsnell, westonruter. Fixes #59480. Built from https://develop.svn.wordpress.org/trunk@56749 git-svn-id: http://core.svn.wordpress.org/trunk@56261 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-customize-manager.php | 17 ++++------------- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index c1cf81f142..24f82510bd 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -2089,22 +2089,13 @@ final class WP_Customize_Manager { ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index f20a44fb47..1769e56ee8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-beta1-56748'; +$wp_version = '6.4-beta1-56749'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.