Skip to content

Commit 3918a79

Browse files
Merge branch 'trunk' into fix/wp-network-query-param-docs
2 parents 3abfb03 + ddb5edd commit 3918a79

21 files changed

Lines changed: 589 additions & 64 deletions

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"ext-dom": "*"
2020
},
2121
"require-dev": {
22-
"composer/ca-bundle": "1.5.10",
22+
"composer/ca-bundle": "1.5.11",
2323
"squizlabs/php_codesniffer": "3.13.5",
2424
"wp-coding-standards/wpcs": "~3.3.0",
2525
"phpcompatibility/phpcompatibility-wp": "~2.1.3",

src/js/_enqueues/admin/post.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ jQuery( function($) {
10281028
revert_e = $el.html();
10291029

10301030
buttons.html(
1031-
'<button type="button" class="save button button-small">' + __( 'OK' ) + '</button> ' +
1031+
'<button type="button" class="save button button-compact">' + __( 'OK' ) + '</button> ' +
10321032
'<button type="button" class="cancel button-link">' + __( 'Cancel' ) + '</button>'
10331033
);
10341034

src/wp-admin/css/common.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,7 @@ img.emoji {
829829
border-radius: 50%;
830830
color: var(--wp-admin-theme-color, #3858e9);
831831
/* vertically center the icon cross browsers */
832-
line-height: 1.28;
832+
line-height: 1.1;
833833
}
834834

835835
.tagchecklist .ntdelbutton:focus {

src/wp-admin/css/dashboard.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
/* Required min-height to make the jQuery UI Sortable drop zone work. */
6161
min-height: 0;
6262
margin: 0 8px 20px;
63-
padding: 0;
6463
}
6564

6665
#dashboard-widgets .meta-box-sortables:not(:empty) {

src/wp-admin/css/edit.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ input#link_url {
121121
#edit-slug-box .cancel {
122122
margin-right: 10px;
123123
padding: 0;
124-
font-size: 11px;
125124
}
126125

127126
#comment-link-box {
@@ -140,7 +139,7 @@ input#link_url {
140139
#editable-post-name input {
141140
font-size: 13px;
142141
font-weight: 400;
143-
height: 24px;
142+
min-height: 32px;
144143
margin: 0;
145144
width: 16em;
146145
}
@@ -174,10 +173,6 @@ body.post-type-wp_navigation .inline-edit-status {
174173

175174
/* Post Screen */
176175

177-
.metabox-holder .postbox-container .meta-box-sortables {
178-
padding: 4px;
179-
}
180-
181176
/* Only highlight drop zones when dragging and only in the 2 columns layout. */
182177
.is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables {
183178
border-radius: 8px;
@@ -1068,6 +1063,10 @@ form#tags-filter {
10681063
#edit-slug-box {
10691064
padding: 0;
10701065
}
1066+
1067+
#editable-post-name input {
1068+
min-height: 40px;
1069+
}
10711070
}
10721071

10731072
@media only screen and (max-width: 1004px) {

src/wp-admin/css/forms.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,12 @@ input[type="number"].tiny-text {
583583
vertical-align: middle;
584584
}
585585

586+
.button.wp-hide-pw.user-new-password-toggle {
587+
display: inline-flex;
588+
align-items: center;
589+
column-gap: 4px;
590+
}
591+
586592
.wp-cancel-pw .dashicons-no {
587593
display: none;
588594
}

src/wp-admin/css/revisions.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ table.diff .diff-addedline ins {
309309
float: right;
310310
margin-left: 6px;
311311
margin-right: 6px;
312-
margin-top: 2px;
313312
}
314313

315314
.diff-meta-from {
@@ -632,8 +631,4 @@ div.revisions-controls > .wp-slider > .ui-slider-handle {
632631
word-break: break-all;
633632
word-wrap: break-word;
634633
}
635-
636-
.diff-meta input.restore-revision {
637-
margin-top: 0;
638-
}
639634
}

src/wp-admin/includes/class-wp-screen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,7 @@ public function render_per_page_options() {
12801280
<legend><?php _e( 'Pagination' ); ?></legend>
12811281
<?php if ( $per_page_label ) : ?>
12821282
<label for="<?php echo esc_attr( $option ); ?>"><?php echo $per_page_label; ?></label>
1283-
<input type="number" step="1" min="1" max="999" class="screen-per-page" name="wp_screen_options[value]"
1283+
<input type="number" step="1" min="1" max="999" class="screen-per-page small-text" name="wp_screen_options[value]"
12841284
id="<?php echo esc_attr( $option ); ?>"
12851285
value="<?php echo esc_attr( $per_page ); ?>" />
12861286
<?php endif; ?>

src/wp-admin/includes/revision.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ function wp_print_revision_templates() {
370370

371371
<script id="tmpl-revisions-buttons" type="text/html">
372372
<div class="revisions-previous">
373-
<input class="button" type="button" value="<?php echo esc_attr_x( 'Previous', 'Button label for a previous revision' ); ?>" />
373+
<input class="button button-compact" type="button" value="<?php echo esc_attr_x( 'Previous', 'Button label for a previous revision' ); ?>" />
374374
</div>
375375

376376
<div class="revisions-next">
377-
<input class="button" type="button" value="<?php echo esc_attr_x( 'Next', 'Button label for a next revision' ); ?>" />
377+
<input class="button button-compact" type="button" value="<?php echo esc_attr_x( 'Next', 'Button label for a next revision' ); ?>" />
378378
</div>
379379
</script>
380380

@@ -454,9 +454,9 @@ function wp_print_revision_templates() {
454454
<# } #>
455455
<?php } ?>
456456
<# if ( data.attributes.autosave ) { #>
457-
type="button" class="restore-revision button button-primary" value="<?php esc_attr_e( 'Restore This Autosave' ); ?>" />
457+
type="button" class="restore-revision button button-primary button-compact" value="<?php esc_attr_e( 'Restore This Autosave' ); ?>" />
458458
<# } else { #>
459-
type="button" class="restore-revision button button-primary" value="<?php esc_attr_e( 'Restore This Revision' ); ?>" />
459+
type="button" class="restore-revision button button-primary button-compact" value="<?php esc_attr_e( 'Restore This Revision' ); ?>" />
460460
<# } #>
461461
<# } #>
462462
</div>

src/wp-admin/user-edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@
695695
<input type="password" name="pass1" id="pass1" class="regular-text ltr" value="" autocomplete="new-password" spellcheck="false" data-pw="<?php echo esc_attr( wp_generate_password( 24 ) ); ?>" aria-describedby="pass-strength-result" />
696696
<div style="display:none" id="pass-strength-result" aria-live="polite"></div>
697697
</div>
698-
<button type="button" class="button wp-hide-pw hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
698+
<button type="button" class="button wp-hide-pw user-new-password-toggle hide-if-no-js" data-toggle="0" aria-label="<?php esc_attr_e( 'Hide password' ); ?>">
699699
<span class="dashicons dashicons-hidden" aria-hidden="true"></span>
700700
<span class="text"><?php _e( 'Hide' ); ?></span>
701701
</button>

0 commit comments

Comments
 (0)