Make WordPress Core


Ignore:
Timestamp:
02/16/2021 06:47:39 PM (4 years ago)
Author:
johnbillion
Message:

Posts, Post Types: Update the styling of the legacy Links editing screen.

This brings its styling inline with other meta boxes in the admin area.

Props antonlukin, kburgoine, grzim, sabernhardt, pbiron, audrasjb

Fixes #48782

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-link-form.php

    r48292 r50357  
    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" />
     
    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" />
     
    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" />
Note: See TracChangeset for help on using the changeset viewer.