wp/wp-admin/theme-editor.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-admin/theme-editor.php	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-admin/theme-editor.php	Wed Sep 21 18:19:35 2022 +0200
@@ -222,7 +222,7 @@
 </div>
 <div class="alignright">
 	<form action="theme-editor.php" method="get">
-		<strong><label for="theme"><?php _e( 'Select theme to edit:' ); ?> </label></strong>
+		<label for="theme" id="theme-plugin-editor-selector"><?php _e( 'Select theme to edit:' ); ?> </label>
 		<select name="theme" id="theme">
 		<?php
 		foreach ( wp_get_themes( array( 'errors' => null ) ) as $a_stylesheet => $a_theme ) {
@@ -301,7 +301,7 @@
 				<?php if ( is_child_theme() && $theme->get_stylesheet() === get_template() ) : ?>
 					<div class="notice notice-warning inline">
 						<p>
-							<?php if ( is_writeable( $file ) ) : ?>
+							<?php if ( is_writable( $file ) ) : ?>
 								<strong><?php _e( 'Caution:' ); ?></strong>
 							<?php endif; ?>
 							<?php _e( 'This is a file in your current parent theme.' ); ?>
@@ -309,13 +309,13 @@
 					</div>
 				<?php endif; ?>
 			</div>
-			<?php if ( is_writeable( $file ) ) : ?>
+			<?php if ( is_writable( $file ) ) : ?>
 				<p class="submit">
 					<?php submit_button( __( 'Update File' ), 'primary', 'submit', false ); ?>
 					<span class="spinner"></span>
 				</p>
 			<?php else : ?>
-				<p><em>
+				<p>
 					<?php
 					printf(
 						/* translators: %s: Documentation URL. */
@@ -323,7 +323,7 @@
 						__( 'https://wordpress.org/support/article/changing-file-permissions/' )
 					);
 					?>
-				</em></p>
+				</p>
 			<?php endif; ?>
 		</div>