Skip to content

Commit 46506dd

Browse files
committed
Remove fieldset and add class to paragraph
1 parent f7290d9 commit 46506dd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/wp-admin/options-permalink.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,8 @@ class="button button-secondary"
409409
</tbody>
410410
</table>
411411

412-
<fieldset class="permalink-structure-optional" aria-describedby="permalink-structure-optional-description">
413-
<legend><h2 class="title"><?php _e( 'Optional' ); ?></h2></legend>
414-
<p id="permalink-structure-optional-description">
412+
<h2 class="title"><?php _e( 'Optional' ); ?></h2>
413+
<p class="permalink-structure-optional-description">
415414
<?php
416415
printf(
417416
/* translators: %s: Placeholder that must come at the start of the URL. */
@@ -464,7 +463,6 @@ class="button button-secondary"
464463
</tr>
465464
<?php do_settings_fields( 'permalink', 'optional' ); ?>
466465
</table>
467-
</fieldset>
468466

469467
<?php do_settings_sections( 'permalink' ); ?>
470468

0 commit comments

Comments
 (0)