Skip to content

Commit a13f7b3

Browse files
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
1 parent 3e3c354 commit a13f7b3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '5.9-alpha-51813';
19+
$wp_version = '5.9-alpha-51814';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

wp-includes/widgets/class-wp-widget-block.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,12 @@ public function form( $instance ) {
202202
$instance = wp_parse_args( (array) $instance, $this->default_instance );
203203
?>
204204
<p>
205-
<label for="<?php echo $this->get_field_id( 'content' ); ?>"><?php echo __( 'Block HTML:' ); ?></label>
205+
<label for="<?php echo $this->get_field_id( 'content' ); ?>">
206+
<?php
207+
/* translators: HTML code of the block, not an option that blocks HTML. */
208+
_e( 'Block HTML:' );
209+
?>
210+
</label>
206211
<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>
207212
</p>
208213
<?php

0 commit comments

Comments
 (0)