mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-20 19:56:49 +01:00
I18N: Add a translator comment to clarify the "Block HTML" string in the Block widget settings form.
The string refers to HTML code of the block, not an option that blocks HTML. Follow-up to [50995]. Props Amieiro, NekoJonez, knutsp, johnbillion, namith.jawahar, SergeyBiryukov. Fixes #54110. Built from https://develop.svn.wordpress.org/trunk@51814 git-svn-id: http://core.svn.wordpress.org/trunk@51421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3e3c3541e5
commit
a13f7b31cd
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-alpha-51813';
|
||||
$wp_version = '5.9-alpha-51814';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
|||
|
|
@ -202,7 +202,12 @@ class WP_Widget_Block extends WP_Widget {
|
|||
$instance = wp_parse_args( (array) $instance, $this->default_instance );
|
||||
?>
|
||||
<p>
|
||||
<label for="<?php echo $this->get_field_id( 'content' ); ?>"><?php echo __( 'Block HTML:' ); ?></label>
|
||||
<label for="<?php echo $this->get_field_id( 'content' ); ?>">
|
||||
<?php
|
||||
/* translators: HTML code of the block, not an option that blocks HTML. */
|
||||
_e( 'Block HTML:' );
|
||||
?>
|
||||
</label>
|
||||
<textarea id="<?php echo $this->get_field_id( 'content' ); ?>" name="<?php echo $this->get_field_name( 'content' ); ?>" rows="6" cols="50" class="widefat code"><?php echo esc_textarea( $instance['content'] ); ?></textarea>
|
||||
</p>
|
||||
<?php
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user