From e3e6cd356aa858135f8310aa383f9f20be5a6768 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 29 Feb 2016 03:13:18 +0000 Subject: [PATCH] I18N: Remove `` tag from translatable string in `wp-includes/class-wp-customize-manager.php`. Props ramiy. Fixes #35992. git-svn-id: https://develop.svn.wordpress.org/trunk@36772 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-customize-manager.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 1ea9e15324..1b02c3ad6d 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/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' );