Skip to content

Commit 68da10b

Browse files
committed
Merge branch 'trunk' into html-api/add-html-templating
2 parents b0e14c9 + b60f8ba commit 68da10b

7 files changed

Lines changed: 20 additions & 25 deletions

File tree

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,6 +1837,7 @@ module.exports = function(grunt) {
18371837
'clean:js',
18381838
'build:webpack',
18391839
'copy:js',
1840+
'copy-vendor-scripts',
18401841
'file_append',
18411842
'uglify:all',
18421843
'concat:tinymce',
@@ -2133,7 +2134,6 @@ module.exports = function(grunt) {
21332134
'build:css',
21342135
'build:codemirror',
21352136
'build:gutenberg',
2136-
'copy-vendor-scripts',
21372137
'build:certificates'
21382138
] );
21392139
} else {
@@ -2145,7 +2145,6 @@ module.exports = function(grunt) {
21452145
'build:css',
21462146
'build:codemirror',
21472147
'build:gutenberg',
2148-
'copy-vendor-scripts',
21492148
'replace:source-maps',
21502149
'verify:build'
21512150
] );

src/wp-admin/css/color-picker.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/* Needs higher specificity to override `.wp-core-ui .button`. */
1212
.wp-picker-container .wp-color-result.button {
13-
min-height: 30px;
13+
min-height: 32px;
1414
margin: 0 6px 6px 0;
1515
padding: 0 0 0 30px;
1616
font-size: 11px;
@@ -22,7 +22,7 @@
2222
border-left: 1px solid #c3c4c7;
2323
color: #50575e;
2424
display: block;
25-
line-height: 2.54545455; /* 28px */
25+
line-height: 2.72727273; /* 30px */
2626
padding: 0 6px;
2727
text-align: center;
2828
}
@@ -76,8 +76,8 @@
7676
.wp-customizer .wp-picker-input-wrap .button.wp-picker-clear {
7777
margin-left: 6px;
7878
padding: 0 8px;
79-
line-height: 2.54545455; /* 28px */
80-
min-height: 30px;
79+
line-height: 2.72727273; /* 30px */
80+
min-height: 32px;
8181
}
8282

8383
.wp-picker-container .iris-square-slider .ui-slider-handle:focus {
@@ -97,7 +97,7 @@
9797
margin: 0;
9898
padding: 0 5px;
9999
vertical-align: top;
100-
min-height: 30px;
100+
min-height: 32px;
101101
}
102102

103103
.wp-color-picker::-webkit-input-placeholder {

src/wp-admin/css/common.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,17 +2077,6 @@ p.auto-update-status {
20772077
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02);
20782078
}
20792079

2080-
.contextual-help-tabs .active::after {
2081-
content: "";
2082-
position: absolute;
2083-
top: 0;
2084-
right: -1px;
2085-
width: 2px;
2086-
height: 100%;
2087-
background: inherit;
2088-
z-index: 2;
2089-
}
2090-
20912080
.contextual-help-tabs .active a {
20922081
border-color: #c3c4c7;
20932082
color: #2c3338;

src/wp-admin/includes/class-wp-posts-list-table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ protected function get_bulk_actions() {
437437
if ( $this->is_trash ) {
438438
$actions['untrash'] = __( 'Restore' );
439439
} else {
440-
$actions['edit'] = __( 'Bulk edit' );
440+
$actions['edit'] = _x( 'Bulk edit', 'verb' );
441441
}
442442
}
443443

src/wp-admin/includes/meta-boxes.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,14 @@ function link_advanced_meta_box( $link ) {
14531453
<td><input name="link_rss" class="code" type="text" id="rss_uri" maxlength="255" value="<?php echo ( isset( $link->link_rss ) ? esc_attr( $link->link_rss ) : '' ); ?>" /></td>
14541454
</tr>
14551455
<tr>
1456-
<th scope="row"><label for="link_notes"><?php _e( 'Notes' ); ?></label></th>
1456+
<th scope="row">
1457+
<label for="link_notes">
1458+
<?php
1459+
/* translators: Label for the Notes textarea in the Link Manager edit screen. */
1460+
_ex( 'Notes', 'Link manager notes field label' );
1461+
?>
1462+
</label>
1463+
</th>
14571464
<td><textarea name="link_notes" id="link_notes" rows="10"><?php echo $link->link_notes ?? ''; // textarea_escaped ?></textarea></td>
14581465
</tr>
14591466
<tr>

src/wp-includes/script-loader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2020,8 +2020,8 @@ function wp_localize_jquery_ui_datepicker() {
20202020
'currentText' => __( 'Today' ),
20212021
'monthNames' => array_values( $wp_locale->month ),
20222022
'monthNamesShort' => array_values( $wp_locale->month_abbrev ),
2023-
'nextText' => __( 'Next' ),
2024-
'prevText' => __( 'Previous' ),
2023+
'nextText' => _x( 'Next', 'datepicker: navigate to next month' ),
2024+
'prevText' => _x( 'Previous', 'datepicker: navigate to previous month' ),
20252025
'dayNames' => array_values( $wp_locale->weekday ),
20262026
'dayNamesShort' => array_values( $wp_locale->weekday_abbrev ),
20272027
'dayNamesMin' => array_values( $wp_locale->weekday_initial ),

tests/qunit/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ <h3 class="accordion-section-title" tabindex="0">
245245
<li class="notice notice-{{ data.type || 'info' }} {{ data.altNotice ? 'notice-alt' : '' }} {{ data.dismissible ? 'is-dismissible' : '' }}" data-code="{{ data.code }}" data-type="{{ data.type }}">
246246
{{{ data.message || data.code }}}
247247
<# if ( data.dismissible ) { #>
248-
<button type="button" class="notice-dismiss"><span class="screen-reader-text"><?php _e( 'Dismiss' ); ?></span></button>
248+
<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss</span></button>
249249
<# } #>
250250
</li>
251251
</script>
@@ -395,14 +395,14 @@ <h3 class="accordion-section-title" tabindex="0">
395395
</script>
396396

397397
<script type="text/html" id="tmpl-nav-menu-locations-header">
398-
<span class="customize-control-title customize-section-title-menu_locations-heading"><?php _e( 'Menu Locations' ); ?></span>
398+
<span class="customize-control-title customize-section-title-menu_locations-heading">Menu Locations</span>
399399
<p class="customize-control-description customize-section-title-menu_locations-description">Something</p>
400400
</script>
401401

402402
<script type="text/html" id="tmpl-nav-menu-create-menu-section-title">
403403
<h3>
404404
<button type="button" class="button customize-add-menu-button">
405-
<?php _e( 'Create New Menu' ); ?>
405+
Create New Menu
406406
</button>
407407
</h3>
408408
</script>

0 commit comments

Comments
 (0)