diff --git a/src/js/_enqueues/admin/postbox.js b/src/js/_enqueues/admin/postbox.js
index 9789518b65..ddcfac5d23 100644
|
a
|
b
|
|
| 411 | 411 | break; |
| 412 | 412 | case 0: |
| 413 | 413 | case 180: |
| 414 | | if ( $('#poststuff').length ) { |
| | 414 | if ( $( '.poststuff' ).length ) { |
| 415 | 415 | this._pb_edit(1); |
| 416 | 416 | } else { |
| 417 | 417 | if ( !check.length || !check.is(':checked') ) |
diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css
index eac01008e8..02cbf11db7 100644
|
a
|
b
|
|
| 6 | 6 | width: 49.5%; |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | | #wpbody-content #dashboard-widgets.columns-2 #postbox-container-2, |
| | 9 | #wpbody-content #dashboard-widgets.columns-2 .postbox-container-2, |
| 10 | 10 | #wpbody-content #dashboard-widgets.columns-2 #postbox-container-3, |
| 11 | 11 | #wpbody-content #dashboard-widgets.columns-2 #postbox-container-4 { |
| 12 | 12 | float: right; |
| … |
… |
|
| 42 | 42 | width: 49.5%; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | | .ie8 #wpbody-content #dashboard-widgets #postbox-container-2, |
| | 45 | .ie8 #wpbody-content #dashboard-widgets .postbox-container-2, |
| 46 | 46 | .ie8 #wpbody-content #dashboard-widgets #postbox-container-3, |
| 47 | 47 | .ie8 #wpbody-content #dashboard-widgets #postbox-container-4 { |
| 48 | 48 | float: right; |
| … |
… |
a.rsswidget { |
| 1112 | 1112 | width: 49.5%; |
| 1113 | 1113 | } |
| 1114 | 1114 | |
| 1115 | | #wpbody-content #dashboard-widgets #postbox-container-2, |
| | 1115 | #wpbody-content #dashboard-widgets .postbox-container-2, |
| 1116 | 1116 | #wpbody-content #dashboard-widgets #postbox-container-3, |
| 1117 | 1117 | #wpbody-content #dashboard-widgets #postbox-container-4 { |
| 1118 | 1118 | float: right; |
diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css
index 20d4c4d27a..49cfd3de6d 100644
|
a
|
b
|
|
| 1 | | #poststuff { |
| | 1 | .poststuff { |
| 2 | 2 | padding-top: 10px; |
| 3 | 3 | min-width: 763px; |
| 4 | 4 | } |
| 5 | 5 | |
| 6 | | #poststuff #post-body { |
| | 6 | .poststuff #post-body { |
| 7 | 7 | padding: 0; |
| 8 | 8 | } |
| 9 | 9 | |
| 10 | | #poststuff .postbox-container { |
| | 10 | .poststuff .postbox-container { |
| 11 | 11 | width: 100%; |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | | #poststuff #post-body.columns-2 { |
| | 14 | .poststuff #post-body.columns-2 { |
| 15 | 15 | margin-right: 300px; |
| 16 | 16 | } |
| 17 | 17 | |
| … |
… |
|
| 51 | 51 | margin: 0; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | | #poststuff #titlewrap { |
| | 54 | .poststuff #titlewrap { |
| 55 | 55 | border: 0; |
| 56 | 56 | padding: 0; |
| 57 | 57 | } |
| … |
… |
form#tags-filter { |
| 414 | 414 | padding-top: 20px; |
| 415 | 415 | } |
| 416 | 416 | |
| 417 | | #poststuff #post-body.columns-2 #side-sortables { |
| | 417 | .poststuff #post-body.columns-2 #side-sortables { |
| 418 | 418 | width: 280px; |
| 419 | 419 | } |
| 420 | 420 | |
| … |
… |
form#tags-filter { |
| 596 | 596 | text-indent: 0; |
| 597 | 597 | } |
| 598 | 598 | |
| 599 | | #poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| 600 | | #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| 601 | | #poststuff h2 { |
| | 599 | .poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| | 600 | .poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| | 601 | .poststuff h2 { |
| 602 | 602 | font-size: 14px; |
| 603 | 603 | padding: 8px 12px; |
| 604 | 604 | margin: 0; |
| 605 | 605 | line-height: 1.4; |
| 606 | 606 | } |
| 607 | 607 | |
| 608 | | #poststuff .stuffbox h2 { |
| | 608 | .poststuff .stuffbox h2 { |
| 609 | 609 | padding: 8px 10px; |
| 610 | 610 | } |
| 611 | 611 | |
| 612 | | #poststuff .inside { |
| | 612 | .poststuff .inside { |
| 613 | 613 | margin: 6px 0 0 0; |
| 614 | 614 | } |
| 615 | 615 | |
| 616 | | #poststuff .stuffbox .inside { |
| | 616 | .poststuff .stuffbox .inside { |
| 617 | 617 | margin: 0; |
| 618 | 618 | } |
| 619 | 619 | |
| 620 | | #poststuff .inside #parent_id, |
| 621 | | #poststuff .inside #page_template { |
| | 620 | .poststuff .inside #parent_id, |
| | 621 | .poststuff .inside #page_template { |
| 622 | 622 | max-width: 100%; |
| 623 | 623 | } |
| 624 | 624 | |
| 625 | | .ie8 #poststuff .inside #parent_id, |
| 626 | | .ie8 #poststuff .inside #page_template { |
| | 625 | .ie8 .poststuff .inside #parent_id, |
| | 626 | .ie8 .poststuff .inside #page_template { |
| 627 | 627 | width: 250px; |
| 628 | 628 | } |
| 629 | 629 | |
| … |
… |
form#tags-filter { |
| 642 | 642 | } |
| 643 | 643 | |
| 644 | 644 | #linksubmitdiv .inside, /* Old Link Manager back-compat. */ |
| 645 | | #poststuff #submitdiv .inside { |
| | 645 | .poststuff #submitdiv .inside { |
| 646 | 646 | margin: 0; |
| 647 | 647 | padding: 0; |
| 648 | 648 | } |
| … |
… |
p.description code { |
| 1068 | 1068 | 13.0 - Tags |
| 1069 | 1069 | ------------------------------------------------------------------------------*/ |
| 1070 | 1070 | |
| 1071 | | #poststuff .tagsdiv .ajaxtag { |
| | 1071 | .poststuff .tagsdiv .ajaxtag { |
| 1072 | 1072 | margin-top: 1em; |
| 1073 | 1073 | } |
| 1074 | 1074 | |
| 1075 | | #poststuff .tagsdiv .howto { |
| | 1075 | .poststuff .tagsdiv .howto { |
| 1076 | 1076 | margin: 1em 0 6px 0; |
| 1077 | 1077 | } |
| 1078 | 1078 | |
| … |
… |
p.popular-tags a { |
| 1117 | 1117 | margin: 2px 0 12px; |
| 1118 | 1118 | } |
| 1119 | 1119 | |
| 1120 | | #poststuff .inside .the-tagcloud { |
| | 1120 | .poststuff .inside .the-tagcloud { |
| 1121 | 1121 | margin: 5px 0 10px; |
| 1122 | 1122 | padding: 8px; |
| 1123 | 1123 | border: 1px solid #ddd; |
| … |
… |
table.links-table { |
| 1389 | 1389 | |
| 1390 | 1390 | /* one column on the post write/edit screen */ |
| 1391 | 1391 | @media only screen and (max-width: 850px) { |
| 1392 | | #poststuff { |
| | 1392 | .poststuff { |
| 1393 | 1393 | min-width: 0; |
| 1394 | 1394 | } |
| 1395 | 1395 | |
| 1396 | | #wpbody-content #poststuff #post-body { |
| | 1396 | #wpbody-content .poststuff #post-body { |
| 1397 | 1397 | margin: 0; |
| 1398 | 1398 | } |
| 1399 | 1399 | |
| … |
… |
table.links-table { |
| 1402 | 1402 | width: 100%; |
| 1403 | 1403 | } |
| 1404 | 1404 | |
| 1405 | | #poststuff #postbox-container-1 .empty-container, |
| 1406 | | #poststuff #postbox-container-1 #side-sortables:empty { |
| | 1405 | .poststuff #postbox-container-1 .empty-container, |
| | 1406 | .poststuff #postbox-container-1 #side-sortables:empty { |
| 1407 | 1407 | border: 0 none; |
| 1408 | 1408 | height: 0; |
| 1409 | 1409 | min-height: 0; |
| 1410 | 1410 | } |
| 1411 | 1411 | |
| 1412 | | #poststuff #post-body.columns-2 #side-sortables { |
| | 1412 | .poststuff #post-body.columns-2 #side-sortables { |
| 1413 | 1413 | min-height: 0; |
| 1414 | 1414 | width: auto; |
| 1415 | 1415 | } |
| … |
… |
table.links-table { |
| 1434 | 1434 | padding: 10px 10px; |
| 1435 | 1435 | } |
| 1436 | 1436 | |
| 1437 | | #poststuff .stuffbox .inside { |
| | 1437 | .poststuff .stuffbox .inside { |
| 1438 | 1438 | padding: 0 2px 4px 0; |
| 1439 | 1439 | } |
| 1440 | 1440 | |
| 1441 | | #poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| 1442 | | #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| 1443 | | #poststuff h2 { |
| | 1441 | .poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| | 1442 | .poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| | 1443 | .poststuff h2 { |
| 1444 | 1444 | padding: 12px; |
| 1445 | 1445 | } |
| 1446 | 1446 | |
diff --git a/src/wp-admin/css/ie.css b/src/wp-admin/css/ie.css
index 00853ab7c8..89a6d38629 100644
|
a
|
b
|
|
| 13 | 13 | width: 49.5%; |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | | #wpbody-content #dashboard-widgets #postbox-container-2, |
| | 16 | #wpbody-content #dashboard-widgets .postbox-container-2, |
| 17 | 17 | #wpbody-content #dashboard-widgets #postbox-container-3, |
| 18 | 18 | #wpbody-content #dashboard-widgets #postbox-container-4 { |
| 19 | 19 | float: right; |
| … |
… |
a.button.button-small { |
| 367 | 367 | #wrap, |
| 368 | 368 | #postdivrich, |
| 369 | 369 | #postdiv, |
| 370 | | #poststuff, |
| | 370 | .poststuff, |
| 371 | 371 | .metabox-holder, |
| 372 | 372 | #titlediv, |
| 373 | 373 | #post-body, |
| … |
… |
form#template div { |
| 414 | 414 | padding: 0 4px; |
| 415 | 415 | } |
| 416 | 416 | |
| 417 | | #poststuff h2 { |
| | 417 | .poststuff h2 { |
| 418 | 418 | font-size: 1.6em; |
| 419 | 419 | } |
| 420 | 420 | |
| 421 | | #poststuff .inside #parent_id, |
| 422 | | #poststuff .inside #page_template, |
| | 421 | .poststuff .inside #parent_id, |
| | 422 | .poststuff .inside #page_template, |
| 423 | 423 | .inline-edit-row #post_parent, |
| 424 | 424 | .inline-edit-row select[name="page_template"] { |
| 425 | 425 | width: 250px; |
| … |
… |
input[type="password"], |
| 677 | 677 | padding: 0; |
| 678 | 678 | } |
| 679 | 679 | |
| 680 | | * html #poststuff h2 { |
| | 680 | * html .poststuff h2 { |
| 681 | 681 | margin-left: 0; |
| 682 | 682 | } |
| 683 | 683 | |
diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css
index b945fa34cd..6906ef6467 100644
|
a
|
b
|
border color while dragging a file over the uploader drop area */ |
| 1033 | 1033 | display: block; |
| 1034 | 1034 | } |
| 1035 | 1035 | |
| 1036 | | #poststuff .imgedit-group-top h2 { |
| | 1036 | .poststuff .imgedit-group-top h2 { |
| 1037 | 1037 | display: inline-block; |
| 1038 | 1038 | margin: 0; |
| 1039 | 1039 | padding: 0; |
| … |
… |
border color while dragging a file over the uploader drop area */ |
| 1041 | 1041 | line-height: 1.4; |
| 1042 | 1042 | } |
| 1043 | 1043 | |
| 1044 | | #poststuff .imgedit-group-top .button-link { |
| | 1044 | .poststuff .imgedit-group-top .button-link { |
| 1045 | 1045 | text-decoration: none; |
| 1046 | 1046 | color: #23282d; |
| 1047 | 1047 | } |
diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php
index e7127fbcb2..1739118da4 100644
|
a
|
b
|
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 494 | 494 | do_action( 'edit_form_top', $post ); |
| 495 | 495 | ?> |
| 496 | 496 | |
| 497 | | <div id="poststuff"> |
| | 497 | <div class="poststuff"> |
| 498 | 498 | <div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>"> |
| 499 | 499 | <div id="post-body-content"> |
| 500 | 500 | |
| … |
… |
do_meta_boxes( $post_type, 'side', $post ); |
| 671 | 671 | |
| 672 | 672 | ?> |
| 673 | 673 | </div> |
| 674 | | <div id="postbox-container-2" class="postbox-container"> |
| | 674 | <div class="postbox-container-2 postbox-container"> |
| 675 | 675 | <?php |
| 676 | 676 | |
| 677 | 677 | do_meta_boxes( null, 'normal', $post ); |
diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php
index aaed1f9fa4..cd422b8bfe 100644
|
a
|
b
|
if ( ! defined( 'ABSPATH' ) ) { |
| 16 | 16 | <div class="wrap"> |
| 17 | 17 | <h1><?php _e( 'Edit Comment' ); ?></h1> |
| 18 | 18 | |
| 19 | | <div id="poststuff"> |
| | 19 | <div class="poststuff"> |
| 20 | 20 | <input type="hidden" name="action" value="editedcomment" /> |
| 21 | 21 | <input type="hidden" name="comment_ID" value="<?php echo esc_attr( $comment->comment_ID ); ?>" /> |
| 22 | 22 | <input type="hidden" name="comment_post_ID" value="<?php echo esc_attr( $comment->comment_post_ID ); ?>" /> |
| … |
… |
endif; |
| 196 | 196 | </div><!-- /submitdiv --> |
| 197 | 197 | </div> |
| 198 | 198 | |
| 199 | | <div id="postbox-container-2" class="postbox-container"> |
| | 199 | <div class="postbox-container-2 postbox-container"> |
| 200 | 200 | <?php |
| 201 | 201 | /** This action is documented in wp-admin/includes/meta-boxes.php */ |
| 202 | 202 | do_action( 'add_meta_boxes', 'comment', $comment ); |
diff --git a/src/wp-admin/edit-link-form.php b/src/wp-admin/edit-link-form.php
index 05c3751f72..f5de0437f7 100644
|
a
|
b
|
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 106 | 106 | wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); |
| 107 | 107 | ?> |
| 108 | 108 | |
| 109 | | <div id="poststuff"> |
| | 109 | <div class="poststuff"> |
| 110 | 110 | |
| 111 | 111 | <div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>"> |
| 112 | 112 | <div id="post-body-content"> |
| … |
… |
$side_meta_boxes = do_meta_boxes( 'link', 'side', $link ); |
| 144 | 144 | |
| 145 | 145 | ?> |
| 146 | 146 | </div> |
| 147 | | <div id="postbox-container-2" class="postbox-container"> |
| | 147 | <div class="postbox-container-2 postbox-container"> |
| 148 | 148 | <?php |
| 149 | 149 | |
| 150 | 150 | do_meta_boxes( null, 'normal', $link ); |
diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
index 6ecc49f8f1..1035f921dc 100644
|
a
|
b
|
function wp_dashboard() { |
| 245 | 245 | <div id="postbox-container-1" class="postbox-container"> |
| 246 | 246 | <?php do_meta_boxes( $screen->id, 'normal', '' ); ?> |
| 247 | 247 | </div> |
| 248 | | <div id="postbox-container-2" class="postbox-container"> |
| | 248 | <div class="postbox-container-2 postbox-container"> |
| 249 | 249 | <?php do_meta_boxes( $screen->id, 'side', '' ); ?> |
| 250 | 250 | </div> |
| 251 | 251 | <div id="postbox-container-3" class="postbox-container"> |
diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
index 075edb159e..0f350d2fcb 100644
|
a
|
b
|
function the_block_editor_meta_boxes() { |
| 2264 | 2264 | </form> |
| 2265 | 2265 | <?php foreach ( $locations as $location ) : ?> |
| 2266 | 2266 | <form class="metabox-location-<?php echo esc_attr( $location ); ?>" onsubmit="return false;"> |
| 2267 | | <div id="poststuff" class="sidebar-open"> |
| 2268 | | <div id="postbox-container-2" class="postbox-container"> |
| | 2267 | <div class="poststuff" class="sidebar-open"> |
| | 2268 | <div class="postbox-container-2 postbox-container"> |
| 2269 | 2269 | <?php |
| 2270 | 2270 | do_meta_boxes( |
| 2271 | 2271 | $current_screen, |