WordPress.org

Make WordPress Core

Changeset 36772


Ignore:
Timestamp:
02/29/2016 03:13:18 AM (6 years ago)
Author:
SergeyBiryukov
Message:

I18N: Remove <a> tag from translatable string in wp-includes/class-wp-customize-manager.php.

Props ramiy.
Fixes #35992.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r36709 r36772  
    12161216        // Removing core components this way is _doing_it_wrong().
    12171217        if ( in_array( $id, $this->components, true ) ) {
    1218             /* translators: 1: panel id, 2: filter reference URL, 3: filter name */
    1219             $message = sprintf( __( 'Removing %1$s manually will cause PHP warnings. Use the <a href="%2$s">%3$s</a> filter instead.' ),
     1218            /* translators: 1: panel id, 2: link to 'customize_loaded_components' filter reference */
     1219            $message = sprintf( __( 'Removing %1$s manually will cause PHP warnings. Use the %2$s filter instead.' ),
    12201220                $id,
    1221                 esc_url( 'https://developer.wordpress.org/reference/hooks/customize_loaded_components/' ),
    1222                 '<code>customize_loaded_components</code>'
     1221                '<a href="' . esc_url( 'https://developer.wordpress.org/reference/hooks/customize_loaded_components/' ) . '"><code>customize_loaded_components</code></a>'
    12231222            );
    12241223
Note: See TracChangeset for help on using the changeset viewer.