1
0
mirror of https://github.com/WordPress/WordPress.git synced 2025-04-01 01:15:49 +02: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 

Built from https://develop.svn.wordpress.org/trunk@50357


git-svn-id: http://core.svn.wordpress.org/trunk@49968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2021-02-16 18:50:03 +00:00
parent dbaee6b550
commit 6cb1eaa583
10 changed files with 25 additions and 15 deletions

View File

@ -2454,7 +2454,7 @@ body.iframe {
}
#namediv input {
width: 98%;
width: 100%;
}
#namediv p {

File diff suppressed because one or more lines are too long

View File

@ -2453,7 +2453,7 @@ body.iframe {
}
#namediv input {
width: 98%;
width: 100%;
}
#namediv p {

File diff suppressed because one or more lines are too long

View File

@ -78,7 +78,7 @@
input#link_description,
input#link_url {
width: 98%;
width: 100%;
}
#pending {
@ -655,6 +655,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;
}

File diff suppressed because one or more lines are too long

View File

@ -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;
}

File diff suppressed because one or more lines are too long

View File

@ -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> &#8212; don&#8217;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>

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-beta2-50355';
$wp_version = '5.7-beta2-50357';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.