Ticket #46964: 46964.4.diff
File 46964.4.diff, 11.0 KB (added by , 5 years ago) |
---|
-
src/js/_enqueues/admin/postbox.js
421 421 break; 422 422 case 0: 423 423 case 180: 424 if ( $( '.poststuff').length ) {424 if ( $('#poststuff').length ) { 425 425 this._pb_edit(1); 426 426 } else { 427 427 if ( !check.length || !check.is(':checked') ) -
src/wp-admin/css/dashboard.css
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; … … 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; -
src/wp-admin/css/edit.css
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 } … … 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 … … 448 448 #post-body #visibility:before, 449 449 .curtime #timestamp:before, 450 450 #post-body .misc-pub-revisions:before, 451 #post-body .misc-pub-response-to:before, 451 #post-body .misc-pub-response-to:before, 452 452 #post-body .misc-pub-comment-status:before { 453 453 color: #82878c; 454 454 } … … 457 457 #post-body #visibility:before, 458 458 .curtime #timestamp:before, 459 459 #post-body .misc-pub-revisions:before, 460 #post-body .misc-pub-response-to:before, 460 #post-body .misc-pub-response-to:before, 461 461 #post-body .misc-pub-comment-status:before { 462 462 font: normal 20px/1 dashicons; 463 463 speak: none; … … 469 469 -moz-osx-font-smoothing: grayscale; 470 470 } 471 471 472 #post-body .misc-pub-post-status:before, 472 #post-body .misc-pub-post-status:before, 473 473 #post-body .misc-pub-comment-status:before { 474 474 content: "\f173"; 475 475 } … … 605 605 text-indent: 0; 606 606 } 607 607 608 .poststuff h3.hndle, /* Back-compat for pre-4.4 */609 .poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */610 .poststuff h2 {608 #poststuff h3.hndle, /* Back-compat for pre-4.4 */ 609 #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ 610 #poststuff h2 { 611 611 font-size: 14px; 612 612 padding: 8px 12px; 613 613 margin: 0; … … 614 614 line-height: 1.4; 615 615 } 616 616 617 .poststuff .stuffbox h2 {617 #poststuff .stuffbox h2 { 618 618 padding: 8px 10px; 619 619 } 620 620 621 .poststuff .stuffbox > h2 {621 #poststuff .stuffbox > h2 { 622 622 border-bottom: 1px solid #eee; 623 623 } 624 624 625 .poststuff .inside {625 #poststuff .inside { 626 626 margin: 6px 0 0 0; 627 627 } 628 628 629 .poststuff .stuffbox .inside {629 #poststuff .stuffbox .inside { 630 630 margin: 0; 631 631 } 632 632 633 .poststuff .inside #parent_id,634 .poststuff .inside #page_template {633 #poststuff .inside #parent_id, 634 #poststuff .inside #page_template { 635 635 max-width: 100%; 636 636 } 637 637 638 .ie8 .poststuff .inside #parent_id,639 .ie8 .poststuff .inside #page_template {638 .ie8 #poststuff .inside #parent_id, 639 .ie8 #poststuff .inside #page_template { 640 640 width: 250px; 641 641 } 642 642 … … 656 656 } 657 657 658 658 #linksubmitdiv .inside, /* Old Link Manager back-compat. */ 659 .poststuff #submitdiv .inside {659 #poststuff #submitdiv .inside { 660 660 margin: 0; 661 661 padding: 0; 662 662 } … … 1105 1105 13.0 - Tags 1106 1106 ------------------------------------------------------------------------------*/ 1107 1107 1108 .poststuff .tagsdiv .ajaxtag {1108 #poststuff .tagsdiv .ajaxtag { 1109 1109 margin-top: 1em; 1110 1110 } 1111 1111 1112 .poststuff .tagsdiv .howto {1112 #poststuff .tagsdiv .howto { 1113 1113 margin: 1em 0 6px 0; 1114 1114 } 1115 1115 … … 1154 1154 margin: 2px 0 12px; 1155 1155 } 1156 1156 1157 .poststuff .inside .the-tagcloud {1157 #poststuff .inside .the-tagcloud { 1158 1158 margin: 5px 0 10px; 1159 1159 padding: 8px; 1160 1160 border: 1px solid #ddd; … … 1426 1426 1427 1427 /* one column on the post write/edit screen */ 1428 1428 @media only screen and (max-width: 850px) { 1429 .poststuff {1429 #poststuff { 1430 1430 min-width: 0; 1431 1431 } 1432 1432 1433 #wpbody-content .poststuff #post-body {1433 #wpbody-content #poststuff #post-body { 1434 1434 margin: 0; 1435 1435 } 1436 1436 … … 1439 1439 width: 100%; 1440 1440 } 1441 1441 1442 .poststuff #postbox-container-1 .empty-container,1443 .poststuff #postbox-container-1 #side-sortables:empty {1442 #poststuff #postbox-container-1 .empty-container, 1443 #poststuff #postbox-container-1 #side-sortables:empty { 1444 1444 border: 0 none; 1445 1445 height: 0; 1446 1446 min-height: 0; 1447 1447 } 1448 1448 1449 .poststuff #post-body.columns-2 #side-sortables {1449 #poststuff #post-body.columns-2 #side-sortables { 1450 1450 min-height: 0; 1451 1451 width: auto; 1452 1452 } … … 1471 1471 padding: 10px 10px; 1472 1472 } 1473 1473 1474 .poststuff .stuffbox .inside {1474 #poststuff .stuffbox .inside { 1475 1475 padding: 0 2px 4px 0; 1476 1476 } 1477 1477 1478 .poststuff h3.hndle, /* Back-compat for pre-4.4 */1479 .poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */1480 .poststuff h2 {1478 #poststuff h3.hndle, /* Back-compat for pre-4.4 */ 1479 #poststuff .stuffbox > h3, /* Back-compat for pre-4.4 */ 1480 #poststuff h2 { 1481 1481 padding: 12px; 1482 1482 } 1483 1483 -
src/wp-admin/css/ie.css
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; … … 367 367 #wrap, 368 368 #postdivrich, 369 369 #postdiv, 370 .poststuff,370 #poststuff, 371 371 .metabox-holder, 372 372 #titlediv, 373 373 #post-body, … … 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; … … 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 -
src/wp-admin/css/media.css
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; … … 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 } -
src/wp-admin/edit-form-advanced.php
494 494 do_action( 'edit_form_top', $post ); 495 495 ?> 496 496 497 <div class="poststuff">497 <div id="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 … … 671 671 672 672 ?> 673 673 </div> 674 <div class="postbox-container-2postbox-container">674 <div id="postbox-container-2" class="postbox-container"> 675 675 <?php 676 676 677 677 do_meta_boxes( null, 'normal', $post ); -
src/wp-admin/edit-form-comment.php
16 16 <div class="wrap"> 17 17 <h1><?php _e( 'Edit Comment' ); ?></h1> 18 18 19 <div class="poststuff">19 <div id="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 ); ?>" /> … … 214 214 </div><!-- /submitdiv --> 215 215 </div> 216 216 217 <div class="postbox-container-2postbox-container">217 <div id="postbox-container-2" class="postbox-container"> 218 218 <?php 219 219 /** This action is documented in wp-admin/includes/meta-boxes.php */ 220 220 do_action( 'add_meta_boxes', 'comment', $comment ); -
src/wp-admin/edit-link-form.php
106 106 wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); 107 107 ?> 108 108 109 <div class="poststuff">109 <div id="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"> … … 144 144 145 145 ?> 146 146 </div> 147 <div class="postbox-container-2postbox-container">147 <div id="postbox-container-2" class="postbox-container"> 148 148 <?php 149 149 150 150 do_meta_boxes( null, 'normal', $link ); -
src/wp-admin/includes/dashboard.php
245 245 <div id="postbox-container-1" class="postbox-container"> 246 246 <?php do_meta_boxes( $screen->id, 'normal', '' ); ?> 247 247 </div> 248 <div class="postbox-container-2postbox-container">248 <div id="postbox-container-2" class="postbox-container"> 249 249 <?php do_meta_boxes( $screen->id, 'side', '' ); ?> 250 250 </div> 251 251 <div id="postbox-container-3" class="postbox-container"> -
src/wp-admin/includes/post.php
2271 2271 </form> 2272 2272 <?php foreach ( $locations as $location ) : ?> 2273 2273 <form class="metabox-location-<?php echo esc_attr( $location ); ?>" onsubmit="return false;"> 2274 <div class="poststuff" class="sidebar-open">2275 <div class="postbox-container-2postbox-container">2274 <div id="poststuff" class="sidebar-open"> 2275 <div id="postbox-container-2" class="postbox-container"> 2276 2276 <?php 2277 2277 do_meta_boxes( 2278 2278 $current_screen,