Skip to content

Commit 15e60ff

Browse files
committed
Build/Test Tools: Remove erroneous PHP tags for translations from QUnit HTML file.
The markup had surely been copied from the PHP source file, as opposed to being copied from the rendered HTML, as it should have been. Developed in WordPress#11403 Follow-up to r41773. Props westonruter, jonsurrell, desrosj, SergeyBiryukov. See #64225, #40104. git-svn-id: https://develop.svn.wordpress.org/trunk@62184 602fd350-edb4-49c9-b593-d223f7449a82
1 parent a6d9020 commit 15e60ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/qunit/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ <h3 class="accordion-section-title" tabindex="0">
245245
<li class="notice notice-{{ data.type || 'info' }} {{ data.altNotice ? 'notice-alt' : '' }} {{ data.dismissible ? 'is-dismissible' : '' }}" data-code="{{ data.code }}" data-type="{{ data.type }}">
246246
{{{ data.message || data.code }}}
247247
<# if ( data.dismissible ) { #>
248-
<button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php _e( 'Dismiss' ); ?></span></button>
248+
<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss</span></button>
249249
<# } #>
250250
</li>
251251
</script>
@@ -395,14 +395,14 @@ <h3 class="accordion-section-title" tabindex="0">
395395
</script>
396396

397397
<script type="text/html" id="tmpl-nav-menu-locations-header">
398-
<span class="customize-control-title customize-section-title-menu_locations-heading"><?php _e( 'Menu Locations' ); ?></span>
398+
<span class="customize-control-title customize-section-title-menu_locations-heading">Menu Locations</span>
399399
<p class="customize-control-description customize-section-title-menu_locations-description">Something</p>
400400
</script>
401401

402402
<script type="text/html" id="tmpl-nav-menu-create-menu-section-title">
403403
<h3>
404404
<button type="button" class="button customize-add-menu-button">
405-
<?php _e( 'Create New Menu' ); ?>
405+
Create New Menu
406406
</button>
407407
</h3>
408408
</script>

0 commit comments

Comments
 (0)