Skip to content

Commit 034bc2d

Browse files
srdjan-jccvukvukovich
authored andcommitted
No tags captured message added
1 parent 2b131d6 commit 034bc2d

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

menus/settings/shortcode-helper.php

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,20 @@
3535

3636
<?php if ( $debug_enabled ) { ?>
3737

38-
<?php if ( $unregistered_tags ) { ?>
39-
<label><?php _e( 'Unregistered tags', 'wpml-compatibility-test-tools' ); ?></label>
40-
<ul class="holder">
41-
<li>
38+
<label><?php _e( 'Unregistered tags', 'wpml-compatibility-test-tools' ); ?></label>
39+
<ul class="holder">
40+
<li>
41+
<?php if ( $unregistered_tags ) { ?>
4242
<ol>
4343
<li><?php echo implode( '</li><li>', array_keys( $unregistered_tags ) ); ?></li>
4444
</ol>
45-
</li>
46-
</ul>
45+
<?php } else { ?>
46+
<?php _e( 'No unregistered tags captured', 'wpml-compatibility-test-tools' ); ?>
47+
<?php } ?>
48+
</li>
49+
</ul>
4750

51+
<?php if ( $unregistered_tags ) { ?>
4852
<label><?php _e( 'XML output', 'wpml-compatibility-test-tools' ); ?></label>
4953
<ul class="holder">
5054
<li>

0 commit comments

Comments
 (0)