Skip to content

Commit 0a1a550

Browse files
authored
Add no-break class to prefix code elements
1 parent a95a713 commit 0a1a550

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wp-admin/options-permalink.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ class="button button-secondary"
430430
/>
431431
<?php else : ?>
432432
<span class="code permalink-structure-has-blog-prefix">
433-
<code><?php echo $blog_prefix; ?></code>
433+
<code class="no-break"><?php echo $blog_prefix; ?></code>
434434
<input name="category_base" id="category_base" type="text"
435435
value="<?php echo esc_attr( $category_base ); ?>" class="regular-text code"
436436
/>
@@ -449,7 +449,7 @@ class="button button-secondary"
449449
/>
450450
<?php else : ?>
451451
<span class="code permalink-structure-has-blog-prefix">
452-
<code><?php echo $blog_prefix; ?></code>
452+
<code class="no-break"><?php echo $blog_prefix; ?></code>
453453
<input name="tag_base" id="tag_base" type="text"
454454
value="<?php echo esc_attr( $tag_base ); ?>" class="regular-text code"
455455
/>

0 commit comments

Comments
 (0)