mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Editor: Revert a fix for incorrect usage of ID attributes on custom fields.
This reverts [47222] due to compatibility issues with plugins which are using the `#poststuff` selector. See #46964 git-svn-id: https://develop.svn.wordpress.org/trunk@47410 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -421,7 +421,7 @@
|
||||
break;
|
||||
case 0:
|
||||
case 180:
|
||||
if ( $( '.poststuff' ).length ) {
|
||||
if ( $( '#poststuff' ).length ) {
|
||||
this._pb_edit(1);
|
||||
} else {
|
||||
if ( !check.length || !check.is(':checked') )
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
width: 49.5%;
|
||||
}
|
||||
|
||||
#wpbody-content #dashboard-widgets.columns-2 .postbox-container-2,
|
||||
#wpbody-content #dashboard-widgets.columns-2 #postbox-container-2,
|
||||
#wpbody-content #dashboard-widgets.columns-2 #postbox-container-3,
|
||||
#wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 {
|
||||
float: right;
|
||||
@@ -42,7 +42,7 @@
|
||||
width: 49.5%;
|
||||
}
|
||||
|
||||
.ie8 #wpbody-content #dashboard-widgets .postbox-container-2,
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-2,
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-3,
|
||||
.ie8 #wpbody-content #dashboard-widgets #postbox-container-4 {
|
||||
float: right;
|
||||
@@ -1112,7 +1112,7 @@ a.rsswidget {
|
||||
width: 49.5%;
|
||||
}
|
||||
|
||||
#wpbody-content #dashboard-widgets .postbox-container-2,
|
||||
#wpbody-content #dashboard-widgets #postbox-container-2,
|
||||
#wpbody-content #dashboard-widgets #postbox-container-3,
|
||||
#wpbody-content #dashboard-widgets #postbox-container-4 {
|
||||
float: right;
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
.poststuff {
|
||||
#poststuff {
|
||||
padding-top: 10px;
|
||||
min-width: 763px;
|
||||
}
|
||||
|
||||
.poststuff #post-body {
|
||||
#poststuff #post-body {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.poststuff .postbox-container {
|
||||
#poststuff .postbox-container {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.poststuff #post-body.columns-2 {
|
||||
#poststuff #post-body.columns-2 {
|
||||
margin-right: 300px;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.poststuff #titlewrap {
|
||||
#poststuff #titlewrap {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -414,7 +414,7 @@ form#tags-filter {
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.poststuff #post-body.columns-2 #side-sortables {
|
||||
#poststuff #post-body.columns-2 #side-sortables {
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
@@ -605,38 +605,38 @@ form#tags-filter {
|
||||
text-indent: 0;
|
||||
}
|
||||
|
||||
.poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
.poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
|
||||
.poststuff h2 {
|
||||
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
|
||||
#poststuff h2 {
|
||||
font-size: 14px;
|
||||
padding: 8px 12px;
|
||||
margin: 0;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.poststuff .stuffbox h2 {
|
||||
#poststuff .stuffbox h2 {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.poststuff .stuffbox > h2 {
|
||||
#poststuff .stuffbox > h2 {
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.poststuff .inside {
|
||||
#poststuff .inside {
|
||||
margin: 6px 0 0 0;
|
||||
}
|
||||
|
||||
.poststuff .stuffbox .inside {
|
||||
#poststuff .stuffbox .inside {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.poststuff .inside #parent_id,
|
||||
.poststuff .inside #page_template {
|
||||
#poststuff .inside #parent_id,
|
||||
#poststuff .inside #page_template {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.ie8 .poststuff .inside #parent_id,
|
||||
.ie8 .poststuff .inside #page_template {
|
||||
.ie8 #poststuff .inside #parent_id,
|
||||
.ie8 #poststuff .inside #page_template {
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
@@ -656,7 +656,7 @@ form#tags-filter {
|
||||
}
|
||||
|
||||
#linksubmitdiv .inside, /* Old Link Manager back-compat. */
|
||||
.poststuff #submitdiv .inside {
|
||||
#poststuff #submitdiv .inside {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -1105,11 +1105,11 @@ p.description code {
|
||||
13.0 - Tags
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.poststuff .tagsdiv .ajaxtag {
|
||||
#poststuff .tagsdiv .ajaxtag {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.poststuff .tagsdiv .howto {
|
||||
#poststuff .tagsdiv .howto {
|
||||
margin: 1em 0 6px 0;
|
||||
}
|
||||
|
||||
@@ -1154,7 +1154,7 @@ p.popular-tags a {
|
||||
margin: 2px 0 12px;
|
||||
}
|
||||
|
||||
.poststuff .inside .the-tagcloud {
|
||||
#poststuff .inside .the-tagcloud {
|
||||
margin: 5px 0 10px;
|
||||
padding: 8px;
|
||||
border: 1px solid #ddd;
|
||||
@@ -1426,11 +1426,11 @@ table.links-table {
|
||||
|
||||
/* one column on the post write/edit screen */
|
||||
@media only screen and (max-width: 850px) {
|
||||
.poststuff {
|
||||
#poststuff {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#wpbody-content .poststuff #post-body {
|
||||
#wpbody-content #poststuff #post-body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -1439,14 +1439,14 @@ table.links-table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.poststuff #postbox-container-1 .empty-container,
|
||||
.poststuff #postbox-container-1 #side-sortables:empty {
|
||||
#poststuff #postbox-container-1 .empty-container,
|
||||
#poststuff #postbox-container-1 #side-sortables:empty {
|
||||
border: 0 none;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.poststuff #post-body.columns-2 #side-sortables {
|
||||
#poststuff #post-body.columns-2 #side-sortables {
|
||||
min-height: 0;
|
||||
width: auto;
|
||||
}
|
||||
@@ -1471,13 +1471,13 @@ table.links-table {
|
||||
padding: 10px 10px;
|
||||
}
|
||||
|
||||
.poststuff .stuffbox .inside {
|
||||
#poststuff .stuffbox .inside {
|
||||
padding: 0 2px 4px 0;
|
||||
}
|
||||
|
||||
.poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
.poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
|
||||
.poststuff h2 {
|
||||
#poststuff h3.hndle, /* Back-compat for pre-4.4 */
|
||||
#poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */
|
||||
#poststuff h2 {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
width: 49.5%;
|
||||
}
|
||||
|
||||
#wpbody-content #dashboard-widgets .postbox-container-2,
|
||||
#wpbody-content #dashboard-widgets #postbox-container-2,
|
||||
#wpbody-content #dashboard-widgets #postbox-container-3,
|
||||
#wpbody-content #dashboard-widgets #postbox-container-4 {
|
||||
float: right;
|
||||
@@ -367,7 +367,7 @@ a.button.button-small {
|
||||
#wrap,
|
||||
#postdivrich,
|
||||
#postdiv,
|
||||
.poststuff,
|
||||
#poststuff,
|
||||
.metabox-holder,
|
||||
#titlediv,
|
||||
#post-body,
|
||||
@@ -414,12 +414,12 @@ form#template div {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
.poststuff h2 {
|
||||
#poststuff h2 {
|
||||
font-size: 1.6em;
|
||||
}
|
||||
|
||||
.poststuff .inside #parent_id,
|
||||
.poststuff .inside #page_template,
|
||||
#poststuff .inside #parent_id,
|
||||
#poststuff .inside #page_template,
|
||||
.inline-edit-row #post_parent,
|
||||
.inline-edit-row select[name="page_template"] {
|
||||
width: 250px;
|
||||
@@ -677,7 +677,7 @@ input[type="password"],
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
* html .poststuff h2 {
|
||||
* html #poststuff h2 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1033,7 +1033,7 @@ border color while dragging a file over the uploader drop area */
|
||||
display: block;
|
||||
}
|
||||
|
||||
.poststuff .imgedit-group-top h2 {
|
||||
#poststuff .imgedit-group-top h2 {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@@ -1041,7 +1041,7 @@ border color while dragging a file over the uploader drop area */
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.poststuff .imgedit-group-top .button-link {
|
||||
#poststuff .imgedit-group-top .button-link {
|
||||
text-decoration: none;
|
||||
color: #23282d;
|
||||
}
|
||||
|
||||
@@ -494,7 +494,7 @@ wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
|
||||
do_action( 'edit_form_top', $post );
|
||||
?>
|
||||
|
||||
<div class="poststuff">
|
||||
<div id="poststuff">
|
||||
<div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
|
||||
<div id="post-body-content">
|
||||
|
||||
@@ -671,7 +671,7 @@ do_meta_boxes( $post_type, 'side', $post );
|
||||
|
||||
?>
|
||||
</div>
|
||||
<div class="postbox-container-2 postbox-container">
|
||||
<div id="postbox-container-2" class="postbox-container">
|
||||
<?php
|
||||
|
||||
do_meta_boxes( null, 'normal', $post );
|
||||
|
||||
@@ -16,7 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||
<div class="wrap">
|
||||
<h1><?php _e( 'Edit Comment' ); ?></h1>
|
||||
|
||||
<div class="poststuff">
|
||||
<div id="poststuff">
|
||||
<input type="hidden" name="action" value="editedcomment" />
|
||||
<input type="hidden" name="comment_ID" value="<?php echo esc_attr( $comment->comment_ID ); ?>" />
|
||||
<input type="hidden" name="comment_post_ID" value="<?php echo esc_attr( $comment->comment_post_ID ); ?>" />
|
||||
@@ -214,7 +214,7 @@ endif;
|
||||
</div><!-- /submitdiv -->
|
||||
</div>
|
||||
|
||||
<div class="postbox-container-2 postbox-container">
|
||||
<div id="postbox-container-2" class="postbox-container">
|
||||
<?php
|
||||
/** This action is documented in wp-admin/includes/meta-boxes.php */
|
||||
do_action( 'add_meta_boxes', 'comment', $comment );
|
||||
|
||||
@@ -106,7 +106,7 @@ wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
|
||||
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
|
||||
?>
|
||||
|
||||
<div class="poststuff">
|
||||
<div id="poststuff">
|
||||
|
||||
<div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
|
||||
<div id="post-body-content">
|
||||
@@ -144,7 +144,7 @@ $side_meta_boxes = do_meta_boxes( 'link', 'side', $link );
|
||||
|
||||
?>
|
||||
</div>
|
||||
<div class="postbox-container-2 postbox-container">
|
||||
<div id="postbox-container-2" class="postbox-container">
|
||||
<?php
|
||||
|
||||
do_meta_boxes( null, 'normal', $link );
|
||||
|
||||
@@ -245,7 +245,7 @@ function wp_dashboard() {
|
||||
<div id="postbox-container-1" class="postbox-container">
|
||||
<?php do_meta_boxes( $screen->id, 'normal', '' ); ?>
|
||||
</div>
|
||||
<div class="postbox-container-2 postbox-container">
|
||||
<div id="postbox-container-2" class="postbox-container">
|
||||
<?php do_meta_boxes( $screen->id, 'side', '' ); ?>
|
||||
</div>
|
||||
<div id="postbox-container-3" class="postbox-container">
|
||||
|
||||
@@ -2275,8 +2275,8 @@ function the_block_editor_meta_boxes() {
|
||||
</form>
|
||||
<?php foreach ( $locations as $location ) : ?>
|
||||
<form class="metabox-location-<?php echo esc_attr( $location ); ?>" onsubmit="return false;">
|
||||
<div class="poststuff" class="sidebar-open">
|
||||
<div class="postbox-container-2 postbox-container">
|
||||
<div id="poststuff" class="sidebar-open">
|
||||
<div id="postbox-container-2" class="postbox-container">
|
||||
<?php
|
||||
do_meta_boxes(
|
||||
$current_screen,
|
||||
|
||||
Reference in New Issue
Block a user