Skip to content

Commit da521c2

Browse files
barryceelenwestonruter
authored andcommitted
Merge pull request #5730 from barryceelen/patch-1
Fix attempting to echo and escape _ex()
1 parent 6f77582 commit da521c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/class-amp-template-customizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ public function render_setting_import_section_template() {
553553
<li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }}">
554554
<h3 class="accordion-section-title">
555555
<button type="button" class="button button-secondary" aria-label="<?php esc_attr_e( 'Import settings', 'amp' ); ?>">
556-
<?php echo esc_html( _ex( 'Import', 'theme', 'amp' ) ); ?>
556+
<?php echo esc_html( _x( 'Import', 'theme', 'amp' ) ); ?>
557557
</button>
558558
<details>
559559
<summary>{{ data.title }}</summary>

0 commit comments

Comments
 (0)