diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 1ea9e15324..1b02c3ad6d 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -1215,11 +1215,10 @@ final class WP_Customize_Manager { public function remove_panel( $id ) { // Removing core components this way is _doing_it_wrong(). if ( in_array( $id, $this->components, true ) ) { - /* translators: 1: panel id, 2: filter reference URL, 3: filter name */ - $message = sprintf( __( 'Removing %1$s manually will cause PHP warnings. Use the %3$s filter instead.' ), + /* translators: 1: panel id, 2: link to 'customize_loaded_components' filter reference */ + $message = sprintf( __( 'Removing %1$s manually will cause PHP warnings. Use the %2$s filter instead.' ), $id, - esc_url( 'https://developer.wordpress.org/reference/hooks/customize_loaded_components/' ), - 'customize_loaded_components' + 'customize_loaded_components' ); _doing_it_wrong( __METHOD__, $message, '4.5' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index e56e3322f6..abd1e5c289 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta1-36771'; +$wp_version = '4.5-beta1-36772'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.