WordPress.org

Make WordPress Core

Ticket #48782: 48782.diff

File 48782.diff, 2.9 KB (added by sabernhardt, 3 months ago)

including the 4 previously suggested revisions to edit.css

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

     
    24532453}
    24542454
    24552455#namediv input {
    2456         width: 98%;
     2456        width: 100%;
    24572457}
    24582458
    24592459#namediv p {
  • src/wp-admin/css/edit.css

     
    7777
    7878input#link_description,
    7979input#link_url {
    80         width: 98%;
     80        width: 100%;
    8181}
    8282
    8383#pending {
     
    651651}
    652652
    653653#poststuff .inside {
    654         margin: 6px 0 0 0;
     654        margin: 6px 0 0;
    655655}
    656656
     657.link-php #poststuff .inside,
     658.link-add-php #poststuff .inside {
     659        margin-top: 12px;
     660}
     661
    657662#poststuff .stuffbox .inside {
    658663        margin: 0;
    659664}
  • src/wp-admin/edit-link-form.php

     
    110110
    111111<div id="post-body" class="metabox-holder columns-<?php echo ( 1 === get_current_screen()->get_columns() ) ? '1' : '2'; ?>">
    112112<div id="post-body-content">
    113 <div id="namediv" class="stuffbox">
    114 <h2><label for="link_name"><?php _ex( 'Name', 'link name' ); ?></label></h2>
     113<div id="namediv" class="postbox">
     114<h2 class="postbox-header"><label for="link_name"><?php _ex( 'Name', 'link name' ); ?></label></h2>
    115115<div class="inside">
    116116        <input type="text" name="link_name" size="30" maxlength="255" value="<?php echo esc_attr( $link->link_name ); ?>" id="link_name" />
    117117        <p><?php _e( 'Example: Nifty blogging software' ); ?></p>
     
    118118</div>
    119119</div>
    120120
    121 <div id="addressdiv" class="stuffbox">
    122 <h2><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
     121<div id="addressdiv" class="postbox">
     122<h2 class="postbox-header"><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
    123123<div class="inside">
    124124        <input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr( $link->link_url ); ?>" id="link_url" />
    125125        <p><?php _e( 'Example: <code>https://wordpress.org/</code> &#8212; don&#8217;t forget the <code>https://</code>' ); ?></p>
     
    126126</div>
    127127</div>
    128128
    129 <div id="descriptiondiv" class="stuffbox">
    130 <h2><label for="link_description"><?php _e( 'Description' ); ?></label></h2>
     129<div id="descriptiondiv" class="postbox">
     130<h2 class="postbox-header"><label for="link_description"><?php _e( 'Description' ); ?></label></h2>
    131131<div class="inside">
    132132        <input type="text" name="link_description" size="30" maxlength="255" value="<?php echo isset( $link->link_description ) ? esc_attr( $link->link_description ) : ''; ?>" id="link_description" />
    133133        <p><?php _e( 'This will be shown when someone hovers over the link in the blogroll, or optionally below the link.' ); ?></p>