mirror of
git://develop.git.wordpress.org/
synced 2025-02-19 22:24:46 +01:00
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 git-svn-id: https://develop.svn.wordpress.org/trunk@50357 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
563ea09789
commit
28bc6a08cf
@ -2453,7 +2453,7 @@ body.iframe {
|
||||
}
|
||||
|
||||
#namediv input {
|
||||
width: 98%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#namediv p {
|
||||
|
@ -77,7 +77,7 @@
|
||||
|
||||
input#link_description,
|
||||
input#link_url {
|
||||
width: 98%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#pending {
|
||||
@ -654,6 +654,11 @@ form#tags-filter {
|
||||
margin: 6px 0 0 0;
|
||||
}
|
||||
|
||||
.link-php #poststuff .inside,
|
||||
.link-add-php #poststuff .inside {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
#poststuff .stuffbox .inside {
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -110,24 +110,24 @@ wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
|
||||
|
||||
<div id="post-body" class="metabox-holder columns-<?php echo ( 1 === get_current_screen()->get_columns() ) ? '1' : '2'; ?>">
|
||||
<div id="post-body-content">
|
||||
<div id="namediv" class="stuffbox">
|
||||
<h2><label for="link_name"><?php _ex( 'Name', 'link name' ); ?></label></h2>
|
||||
<div id="namediv" class="postbox">
|
||||
<h2 class="postbox-header"><label for="link_name"><?php _ex( 'Name', 'link name' ); ?></label></h2>
|
||||
<div class="inside">
|
||||
<input type="text" name="link_name" size="30" maxlength="255" value="<?php echo esc_attr( $link->link_name ); ?>" id="link_name" />
|
||||
<p><?php _e( 'Example: Nifty blogging software' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="addressdiv" class="stuffbox">
|
||||
<h2><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
|
||||
<div id="addressdiv" class="postbox">
|
||||
<h2 class="postbox-header"><label for="link_url"><?php _e( 'Web Address' ); ?></label></h2>
|
||||
<div class="inside">
|
||||
<input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr( $link->link_url ); ?>" id="link_url" />
|
||||
<p><?php _e( 'Example: <code>https://wordpress.org/</code> — don’t forget the <code>https://</code>' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="descriptiondiv" class="stuffbox">
|
||||
<h2><label for="link_description"><?php _e( 'Description' ); ?></label></h2>
|
||||
<div id="descriptiondiv" class="postbox">
|
||||
<h2 class="postbox-header"><label for="link_description"><?php _e( 'Description' ); ?></label></h2>
|
||||
<div class="inside">
|
||||
<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" />
|
||||
<p><?php _e( 'This will be shown when someone hovers over the link in the blogroll, or optionally below the link.' ); ?></p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user