Skip to content

Commit 2bdb6fa

Browse files
authored
Merge branch 'WordPress:trunk' into trunk
2 parents 3e72a74 + 5836a43 commit 2bdb6fa

File tree

103 files changed

+1213
-581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1213
-581
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"formdata-polyfill": "4.0.10",
140140
"hoverintent": "2.2.1",
141141
"imagesloaded": "4.1.4",
142-
"jquery": "3.6.1",
142+
"jquery": "3.6.3",
143143
"jquery-color": "2.2.0",
144144
"jquery-form": "4.3.0",
145145
"jquery-hoverintent": "1.10.2",

src/js/_enqueues/admin/postbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
__ = wp.i18n.__;
1515

1616
/**
17-
* This object contains all function to handle the behaviour of the post boxes. The post boxes are the boxes you see
17+
* This object contains all function to handle the behavior of the post boxes. The post boxes are the boxes you see
1818
* around the content on the edit page.
1919
*
2020
* @since 2.7.0
@@ -347,7 +347,7 @@
347347
},
348348

349349
/**
350-
* Initializes all the postboxes, mainly their sortable behaviour.
350+
* Initializes all the postboxes, mainly their sortable behavior.
351351
*
352352
* @since 2.7.0
353353
*

src/js/_enqueues/lib/comment-reply.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ window.addComment = ( function( window ) {
5959
* @since 5.1.1
6060
*/
6161
function ready() {
62-
// Initialise the events.
62+
// Initialize the events.
6363
init();
6464

6565
// Set up a MutationObserver to check for comments loaded late.

src/js/_enqueues/lib/dialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
this._super();
1818

1919
// WebKit leaves focus in the TinyMCE editor unless we shift focus.
20-
this.element.focus();
20+
this.element._trigger('focus');
2121
this._trigger('refresh');
2222
}
2323
});

src/js/_enqueues/lib/image-edit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
var __ = wp.i18n.__;
1212

1313
/**
14-
* Contains all the methods to initialise and control the image editor.
14+
* Contains all the methods to initialize and control the image editor.
1515
*
1616
* @namespace imageEdit
1717
*/
@@ -636,7 +636,7 @@
636636
btn.removeClass( 'button-activated' );
637637
spin.removeClass( 'is-active' );
638638
} );
639-
// Initialise the Image Editor now that everything is ready.
639+
// Initialize the Image Editor now that everything is ready.
640640
imageEdit.init( postid );
641641
} );
642642

src/js/_enqueues/wp/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
'use strict';
88

99
/**
10-
* Initialise the WP_API.
10+
* Initialize the WP_API.
1111
*/
1212
function WP_API() {
1313
/** @namespace wp.api.models */

src/license.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
WordPress - Web publishing software
22

3-
Copyright 2011-2022 by the contributors
3+
Copyright 2011-2023 by the contributors
44

55
This program is free software; you can redistribute it and/or modify
66
it under the terms of the GNU General Public License as published by

src/wp-admin/css/colors/_admin.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
@import 'variables';
33
@import 'mixins';
44

5+
/**
6+
* This function name uses British English to maintain backward compatibility, as developers
7+
* may use the function in their own admin CSS files. See #56811.
8+
*/
59
@function url-friendly-colour( $color ) {
610
@return '%23' + str-slice( '#{ $color }', 2, -1 );
711
}

src/wp-admin/edit-comments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
210210
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
211211
'<p>' . __( '<a href="https://wordpress.org/support/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
212-
'<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
212+
'<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
213213
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
214214
);
215215

0 commit comments

Comments
 (0)