Accessibility: Administration: Remove `<strong>` tags from labels on plugin/theme editor screens.
If every single label is emphasized with a `<strong>` tag, none of them is really emphasized anymore. This removes the tags in favor of CSS styling, for consistency with the other labels on the screen. Props chemiker, audrasjb, mukesh27, paaljoachim, estelaris, ibdz, SergeyBiryukov. Fixes #52232. Built from https://develop.svn.wordpress.org/trunk@49958 git-svn-id: http://core.svn.wordpress.org/trunk@49657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
001dad10c6
commit
c5d1214607
|
@ -3291,11 +3291,15 @@ img {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#theme-plugin-editor-selector,
|
||||||
|
#theme-plugin-editor-label,
|
||||||
|
#documentation label {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
#theme-plugin-editor-label {
|
#theme-plugin-editor-label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* rtl:ignore */
|
/* rtl:ignore */
|
||||||
|
@ -3391,7 +3395,6 @@ img {
|
||||||
#documentation label {
|
#documentation label {
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileedit-sub {
|
.fileedit-sub {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -3290,11 +3290,15 @@ img {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#theme-plugin-editor-selector,
|
||||||
|
#theme-plugin-editor-label,
|
||||||
|
#documentation label {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
#theme-plugin-editor-label {
|
#theme-plugin-editor-label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* rtl:ignore */
|
/* rtl:ignore */
|
||||||
|
@ -3390,7 +3394,6 @@ img {
|
||||||
#documentation label {
|
#documentation label {
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileedit-sub {
|
.fileedit-sub {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -216,7 +216,7 @@ $content = esc_textarea( $content );
|
||||||
</div>
|
</div>
|
||||||
<div class="alignright">
|
<div class="alignright">
|
||||||
<form action="plugin-editor.php" method="get">
|
<form action="plugin-editor.php" method="get">
|
||||||
<strong><label for="plugin"><?php _e( 'Select plugin to edit:' ); ?> </label></strong>
|
<label for="plugin" id="theme-plugin-editor-selector"><?php _e( 'Select plugin to edit:' ); ?> </label>
|
||||||
<select name="plugin" id="plugin">
|
<select name="plugin" id="plugin">
|
||||||
<?php
|
<?php
|
||||||
foreach ( $plugins as $plugin_key => $a_plugin ) {
|
foreach ( $plugins as $plugin_key => $a_plugin ) {
|
||||||
|
|
|
@ -222,7 +222,7 @@ if ( $file_description !== $file_show ) {
|
||||||
</div>
|
</div>
|
||||||
<div class="alignright">
|
<div class="alignright">
|
||||||
<form action="theme-editor.php" method="get">
|
<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">
|
<select name="theme" id="theme">
|
||||||
<?php
|
<?php
|
||||||
foreach ( wp_get_themes( array( 'errors' => null ) ) as $a_stylesheet => $a_theme ) {
|
foreach ( wp_get_themes( array( 'errors' => null ) ) as $a_stylesheet => $a_theme ) {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.7-alpha-49957';
|
$wp_version = '5.7-alpha-49958';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue