Make WordPress Core

Ticket #52232: Remove strong tags and remove bold appearance of all labels.diff

File Remove strong tags and remove bold appearance of all labels.diff, 1.6 KB (added by chemiker, 4 years ago)

Remove strong tags and remove bold appearance of all labels.diff - This will remove <strong> tags and apply a normal font-weight for all labels.

  • src/wp-admin/css/common.css

    diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css
    index 9da493c94c..ab4893b758 100644
    a b img { 
    32943294#theme-plugin-editor-label {
    32953295        display: inline-block;
    32963296        margin-bottom: 1em;
    3297         font-weight: 600;
    32983297}
    32993298
    33003299/* rtl:ignore */
    img { 
    33903389#documentation label {
    33913390        line-height: 1.8;
    33923391        vertical-align: baseline;
    3393         font-weight: 600;
    33943392}
    33953393
    33963394.fileedit-sub {
  • src/wp-admin/plugin-editor.php

    diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php
    index 7467ace6aa..0c14a3cfde 100644
    a b $content = esc_textarea( $content ); 
    216216</div>
    217217<div class="alignright">
    218218        <form action="plugin-editor.php" method="get">
    219                 <strong><label for="plugin"><?php _e( 'Select plugin to edit:' ); ?> </label></strong>
     219                <label for="plugin"><?php _e( 'Select plugin to edit:' ); ?> </label>
    220220                <select name="plugin" id="plugin">
    221221                <?php
    222222                foreach ( $plugins as $plugin_key => $a_plugin ) {
  • src/wp-admin/theme-editor.php

    diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php
    index 3cf24cc77e..46d44a4b87 100644
    a b if ( $file_description !== $file_show ) { 
    222222</div>
    223223<div class="alignright">
    224224        <form action="theme-editor.php" method="get">
    225                 <strong><label for="theme"><?php _e( 'Select theme to edit:' ); ?> </label></strong>
     225                <label for="theme"><?php _e( 'Select theme to edit:' ); ?> </label>
    226226                <select name="theme" id="theme">
    227227                <?php
    228228                foreach ( wp_get_themes( array( 'errors' => null ) ) as $a_stylesheet => $a_theme ) {