diff --git src/js/_enqueues/admin/postbox.js src/js/_enqueues/admin/postbox.js
index 88facb1aee..a935bd02bf 100644
|
|
|
|
| 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 src/wp-admin/css/dashboard.css src/wp-admin/css/dashboard.css
index 8f562bd2a7..88d6e3829d 100644
|
|
|
|
| 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 { |
| 1101 | 1101 | width: 49.5%; |
| 1102 | 1102 | } |
| 1103 | 1103 | |
| 1104 | | #wpbody-content #dashboard-widgets #postbox-container-2, |
| | 1104 | #wpbody-content #dashboard-widgets .postbox-container-2, |
| 1105 | 1105 | #wpbody-content #dashboard-widgets #postbox-container-3, |
| 1106 | 1106 | #wpbody-content #dashboard-widgets #postbox-container-4 { |
| 1107 | 1107 | float: right; |
diff --git src/wp-admin/css/edit.css src/wp-admin/css/edit.css
index 4b03870f22..f23614d82d 100644
|
|
|
|
| 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 { |
| 413 | 413 | padding-top: 20px; |
| 414 | 414 | } |
| 415 | 415 | |
| 416 | | #poststuff #post-body.columns-2 #side-sortables { |
| | 416 | .poststuff #post-body.columns-2 #side-sortables { |
| 417 | 417 | width: 280px; |
| 418 | 418 | } |
| 419 | 419 | |
| … |
… |
span.wp-media-buttons-icon:before { |
| 599 | 599 | text-indent: 0; |
| 600 | 600 | } |
| 601 | 601 | |
| 602 | | #poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| 603 | | #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| 604 | | #poststuff h2 { |
| | 602 | .poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| | 603 | .poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| | 604 | .poststuff h2 { |
| 605 | 605 | font-size: 14px; |
| 606 | 606 | padding: 8px 12px; |
| 607 | 607 | margin: 0; |
| 608 | 608 | line-height: 1.4; |
| 609 | 609 | } |
| 610 | 610 | |
| 611 | | #poststuff .stuffbox h2 { |
| | 611 | .poststuff .stuffbox h2 { |
| 612 | 612 | padding: 8px 10px; |
| 613 | 613 | } |
| 614 | 614 | |
| 615 | | #poststuff .inside { |
| | 615 | .poststuff .inside { |
| 616 | 616 | margin: 6px 0 0 0; |
| 617 | 617 | } |
| 618 | 618 | |
| 619 | | #poststuff .stuffbox .inside { |
| | 619 | .poststuff .stuffbox .inside { |
| 620 | 620 | margin: 0; |
| 621 | 621 | } |
| 622 | 622 | |
| 623 | | #poststuff .inside #parent_id, |
| 624 | | #poststuff .inside #page_template { |
| | 623 | .poststuff .inside #parent_id, |
| | 624 | .poststuff .inside #page_template { |
| 625 | 625 | max-width: 100%; |
| 626 | 626 | } |
| 627 | 627 | |
| 628 | | .ie8 #poststuff .inside #parent_id, |
| 629 | | .ie8 #poststuff .inside #page_template { |
| | 628 | .ie8 .poststuff .inside #parent_id, |
| | 629 | .ie8 .poststuff .inside #page_template { |
| 630 | 630 | width: 250px; |
| 631 | 631 | } |
| 632 | 632 | |
| … |
… |
span.wp-media-buttons-icon:before { |
| 645 | 645 | } |
| 646 | 646 | |
| 647 | 647 | #linksubmitdiv .inside, /* Old Link Manager back-compat. */ |
| 648 | | #poststuff #submitdiv .inside { |
| | 648 | .poststuff #submitdiv .inside { |
| 649 | 649 | margin: 0; |
| 650 | 650 | padding: 0; |
| 651 | 651 | } |
| … |
… |
p.description code { |
| 1064 | 1064 | 13.0 - Tags |
| 1065 | 1065 | ------------------------------------------------------------------------------*/ |
| 1066 | 1066 | |
| 1067 | | #poststuff .tagsdiv .ajaxtag { |
| | 1067 | .poststuff .tagsdiv .ajaxtag { |
| 1068 | 1068 | margin-top: 1em; |
| 1069 | 1069 | } |
| 1070 | 1070 | |
| 1071 | | #poststuff .tagsdiv .howto { |
| | 1071 | .poststuff .tagsdiv .howto { |
| 1072 | 1072 | margin: 1em 0 6px 0; |
| 1073 | 1073 | } |
| 1074 | 1074 | |
| … |
… |
p.popular-tags a { |
| 1113 | 1113 | margin: 2px 0 12px; |
| 1114 | 1114 | } |
| 1115 | 1115 | |
| 1116 | | #poststuff .inside .the-tagcloud { |
| | 1116 | .poststuff .inside .the-tagcloud { |
| 1117 | 1117 | margin: 5px 0 10px; |
| 1118 | 1118 | padding: 8px; |
| 1119 | 1119 | border: 1px solid #ddd; |
| … |
… |
table.links-table { |
| 1385 | 1385 | |
| 1386 | 1386 | /* one column on the post write/edit screen */ |
| 1387 | 1387 | @media only screen and (max-width: 850px) { |
| 1388 | | #poststuff { |
| | 1388 | .poststuff { |
| 1389 | 1389 | min-width: 0; |
| 1390 | 1390 | } |
| 1391 | 1391 | |
| 1392 | | #wpbody-content #poststuff #post-body { |
| | 1392 | #wpbody-content .poststuff #post-body { |
| 1393 | 1393 | margin: 0; |
| 1394 | 1394 | } |
| 1395 | 1395 | |
| … |
… |
table.links-table { |
| 1398 | 1398 | width: 100%; |
| 1399 | 1399 | } |
| 1400 | 1400 | |
| 1401 | | #poststuff #postbox-container-1 .empty-container, |
| 1402 | | #poststuff #postbox-container-1 #side-sortables:empty { |
| | 1401 | .poststuff #postbox-container-1 .empty-container, |
| | 1402 | .poststuff #postbox-container-1 #side-sortables:empty { |
| 1403 | 1403 | border: 0 none; |
| 1404 | 1404 | height: 0; |
| 1405 | 1405 | min-height: 0; |
| 1406 | 1406 | } |
| 1407 | 1407 | |
| 1408 | | #poststuff #post-body.columns-2 #side-sortables { |
| | 1408 | .poststuff #post-body.columns-2 #side-sortables { |
| 1409 | 1409 | min-height: 0; |
| 1410 | 1410 | width: auto; |
| 1411 | 1411 | } |
| … |
… |
table.links-table { |
| 1430 | 1430 | padding: 10px 10px; |
| 1431 | 1431 | } |
| 1432 | 1432 | |
| 1433 | | #poststuff .stuffbox .inside { |
| | 1433 | .poststuff .stuffbox .inside { |
| 1434 | 1434 | padding: 0 2px 4px 0; |
| 1435 | 1435 | } |
| 1436 | 1436 | |
| 1437 | | #poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| 1438 | | #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| 1439 | | #poststuff h2 { |
| | 1437 | .poststuff h3.hndle, /* Back-compat for pre-4.4 */ |
| | 1438 | .poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ |
| | 1439 | .poststuff h2 { |
| 1440 | 1440 | padding: 12px; |
| 1441 | 1441 | } |
| 1442 | 1442 | |
diff --git src/wp-admin/css/ie.css src/wp-admin/css/ie.css
index 00853ab7c8..89a6d38629 100644
|
|
|
|
| 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 src/wp-admin/css/media.css src/wp-admin/css/media.css
index 5c7242224d..b58ef51d21 100644
|
|
|
border color while dragging a file over the uploader drop area */ |
| 1026 | 1026 | display: block; |
| 1027 | 1027 | } |
| 1028 | 1028 | |
| 1029 | | #poststuff .imgedit-group-top h2 { |
| | 1029 | .poststuff .imgedit-group-top h2 { |
| 1030 | 1030 | display: inline-block; |
| 1031 | 1031 | margin: 0; |
| 1032 | 1032 | padding: 0; |
| … |
… |
border color while dragging a file over the uploader drop area */ |
| 1034 | 1034 | line-height: 1.4; |
| 1035 | 1035 | } |
| 1036 | 1036 | |
| 1037 | | #poststuff .imgedit-group-top .button-link { |
| | 1037 | .poststuff .imgedit-group-top .button-link { |
| 1038 | 1038 | text-decoration: none; |
| 1039 | 1039 | color: #23282d; |
| 1040 | 1040 | } |
diff --git src/wp-admin/edit-form-advanced.php src/wp-admin/edit-form-advanced.php
index 977448aaf5..ab95a22290 100644
|
|
|
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 475 | 475 | do_action( 'edit_form_top', $post ); |
| 476 | 476 | ?> |
| 477 | 477 | |
| 478 | | <div id="poststuff"> |
| | 478 | <div class="poststuff"> |
| 479 | 479 | <div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>"> |
| 480 | 480 | <div id="post-body-content"> |
| 481 | 481 | |
| … |
… |
do_meta_boxes( $post_type, 'side', $post ); |
| 644 | 644 | |
| 645 | 645 | ?> |
| 646 | 646 | </div> |
| 647 | | <div id="postbox-container-2" class="postbox-container"> |
| | 647 | <div class="postbox-container-2 postbox-container"> |
| 648 | 648 | <?php |
| 649 | 649 | |
| 650 | 650 | do_meta_boxes( null, 'normal', $post ); |
diff --git src/wp-admin/edit-form-comment.php src/wp-admin/edit-form-comment.php
index a64be9cf88..5da066c35d 100644
|
|
|
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; |
| 193 | 193 | </div><!-- /submitdiv --> |
| 194 | 194 | </div> |
| 195 | 195 | |
| 196 | | <div id="postbox-container-2" class="postbox-container"> |
| | 196 | <div class="postbox-container-2 postbox-container"> |
| 197 | 197 | <?php |
| 198 | 198 | /** This action is documented in wp-admin/includes/meta-boxes.php */ |
| 199 | 199 | do_action( 'add_meta_boxes', 'comment', $comment ); |
diff --git src/wp-admin/edit-link-form.php src/wp-admin/edit-link-form.php
index f63d71b48e..a10f883f6d 100644
|
|
|
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 104 | 104 | wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); |
| 105 | 105 | ?> |
| 106 | 106 | |
| 107 | | <div id="poststuff"> |
| | 107 | <div class="poststuff"> |
| 108 | 108 | |
| 109 | 109 | <div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>"> |
| 110 | 110 | <div id="post-body-content"> |
| … |
… |
$side_meta_boxes = do_meta_boxes( 'link', 'side', $link ); |
| 142 | 142 | |
| 143 | 143 | ?> |
| 144 | 144 | </div> |
| 145 | | <div id="postbox-container-2" class="postbox-container"> |
| | 145 | <div class="postbox-container-2 postbox-container"> |
| 146 | 146 | <?php |
| 147 | 147 | |
| 148 | 148 | do_meta_boxes( null, 'normal', $link ); |
diff --git src/wp-admin/includes/dashboard.php src/wp-admin/includes/dashboard.php
index d45f1e2477..316dcf3118 100644
|
|
|
function wp_dashboard() { |
| 231 | 231 | <div id="postbox-container-1" class="postbox-container"> |
| 232 | 232 | <?php do_meta_boxes( $screen->id, 'normal', '' ); ?> |
| 233 | 233 | </div> |
| 234 | | <div id="postbox-container-2" class="postbox-container"> |
| | 234 | <div class="postbox-container-2 postbox-container"> |
| 235 | 235 | <?php do_meta_boxes( $screen->id, 'side', '' ); ?> |
| 236 | 236 | </div> |
| 237 | 237 | <div id="postbox-container-3" class="postbox-container"> |
diff --git src/wp-admin/includes/post.php src/wp-admin/includes/post.php
index ec083c569f..5b0cb1f4a3 100644
|
|
|
function the_block_editor_meta_boxes() { |
| 2256 | 2256 | </form> |
| 2257 | 2257 | <?php foreach ( $locations as $location ) : ?> |
| 2258 | 2258 | <form class="metabox-location-<?php echo esc_attr( $location ); ?>" onsubmit="return false;"> |
| 2259 | | <div id="poststuff" class="sidebar-open"> |
| 2260 | | <div id="postbox-container-2" class="postbox-container"> |
| | 2259 | <div class="poststuff sidebar-open"> |
| | 2260 | <div class="postbox-container-2 postbox-container"> |
| 2261 | 2261 | <?php |
| 2262 | 2262 | do_meta_boxes( |
| 2263 | 2263 | $current_screen, |