Skip to content

Commit f97c923

Browse files
committed
Merge branch 'trunk' into html-api/improve-adoption-agency-algorithm
2 parents 2d05d46 + f90c8bf commit f97c923

26 files changed

Lines changed: 1314 additions & 217 deletions

.github/workflows/phpunit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
#
3737
test-with-mysql:
3838
name: PHP ${{ matrix.php }}
39-
uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests.yml@trunk
39+
uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
4040
permissions:
4141
contents: read
4242
secrets: inherit
@@ -108,7 +108,7 @@ jobs:
108108
#
109109
test-with-mariadb:
110110
name: PHP ${{ matrix.php }}
111-
uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests.yml@trunk
111+
uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk
112112
permissions:
113113
contents: read
114114
secrets: inherit
File renamed without changes.

.github/workflows/test-old-branches.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- trunk
88
paths:
99
- '.github/workflows/test-old-branches.yml'
10+
- '.github/workflows/reusable-phpunit-tests-v1.yml'
11+
- '.github/workflows/reusable-phpunit-tests-v2.yml'
1012
# Run twice a month on the 1st and 15th at 00:00 UTC.
1113
schedule:
1214
- cron: '0 0 1 * *'
@@ -34,7 +36,7 @@ jobs:
3436
'coding-standards.yml',
3537
'javascript-tests.yml',
3638
'phpunit-tests.yml',
37-
'test-npm.yml'
39+
'test-build-processes.yml'
3840
]
3941
branch: [
4042
'6.6', '6.5', '6.4', '6.3', '6.2', '6.1','6.0',
@@ -102,10 +104,6 @@ jobs:
102104
- branch: '6.2'
103105
workflow: 'performance.yml'
104106

105-
# Build Process testing was introduced in 6.5.
106-
- branch: '6.5'
107-
workflow: 'test-build-processes.yml'
108-
109107
# Run all branches monthly, but only the currently supported one twice per month.
110108
steps:
111109
- name: Dispatch workflow run

src/wp-admin/about.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@
124124
<p>
125125
<?php
126126
printf(
127-
/* translators: %s: code-formatted "data-wp-on-async", %%: escaped percent sign, leave as %%. */
128-
__( '6.6 includes important updates like removing redundant WP_Theme_JSON calls, disabling autoload for large options, eliminating unnecessary polyfill dependencies, lazy loading post embeds, introducing the %s directive, and a 40%% reduction in template loading time in the editor.' ),
127+
/* translators: %1$s: code-formatted "WP_Theme_JSON", %2$s: code-formatted "data-wp-on-async", %%: escaped percent sign, leave as %%. */
128+
__( 'WordPress 6.6 includes important updates like removing redundant %1$s calls, disabling autoload for large options, eliminating unnecessary polyfill dependencies, lazy loading post embeds, introducing the %2$s directive, and a 33%% reduction in template loading time in the editor.' ),
129+
'<code>WP_Theme_JSON</code>',
129130
'<code>data-wp-on-async</code>'
130131
);
131132
?>

src/wp-admin/admin-ajax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @package WordPress
66
* @subpackage Administration
77
*
8-
* @link https://codex.wordpress.org/AJAX_in_Plugins
8+
* @link https://developer.wordpress.org/plugins/javascript/ajax
99
*/
1010

1111
/**

src/wp-admin/includes/file.php

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,30 +1402,6 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
14021402
);
14031403
}
14041404

1405-
// Check for an edge-case affecting PHP Maths abilities.
1406-
if (
1407-
! extension_loaded( 'sodium' ) &&
1408-
in_array( PHP_VERSION_ID, array( 70200, 70201, 70202 ), true ) &&
1409-
extension_loaded( 'opcache' )
1410-
) {
1411-
/*
1412-
* Sodium_Compat isn't compatible with PHP 7.2.0~7.2.2 due to a bug in the PHP Opcache extension, bail early as it'll fail.
1413-
* https://bugs.php.net/bug.php?id=75938
1414-
*/
1415-
return new WP_Error(
1416-
'signature_verification_unsupported',
1417-
sprintf(
1418-
/* translators: %s: The filename of the package. */
1419-
__( 'The authenticity of %s could not be verified as signature verification is unavailable on this system.' ),
1420-
'<span class="code">' . esc_html( $filename_for_errors ) . '</span>'
1421-
),
1422-
array(
1423-
'php' => PHP_VERSION,
1424-
'sodium' => defined( 'SODIUM_LIBRARY_VERSION' ) ? SODIUM_LIBRARY_VERSION : ( defined( 'ParagonIE_Sodium_Compat::VERSION_STRING' ) ? ParagonIE_Sodium_Compat::VERSION_STRING : false ),
1425-
)
1426-
);
1427-
}
1428-
14291405
// Verify runtime speed of Sodium_Compat is acceptable.
14301406
if ( ! extension_loaded( 'sodium' ) && ! ParagonIE_Sodium_Compat::polyfill_is_fast() ) {
14311407
$sodium_compat_is_fast = false;

src/wp-content/themes/twentyeleven/blocks.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ figure[class^="wp-block-"] {
3030
font-size: 12px;
3131
}
3232

33-
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
33+
[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
3434
color: #666;
3535
margin-bottom: 1.625em;
3636
max-width: 96%;
@@ -40,7 +40,7 @@ figure[class^="wp-block-"] {
4040
text-align: left;
4141
}
4242

43-
[class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
43+
[class^="wp-block-"]:not(.wp-block-gallery) > figcaption:before {
4444
color: #666;
4545
content: '\2014';
4646
font-size: 14px;
@@ -52,13 +52,13 @@ figure[class^="wp-block-"] {
5252
top: 0;
5353
}
5454

55-
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
55+
.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
5656
padding-left: 0;
5757
padding-right: 40px;
5858
text-align: right;
5959
}
6060

61-
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption:before {
61+
.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption:before {
6262
left: 0;
6363
margin-left: 5px;
6464
margin-right: 0;

src/wp-content/themes/twentyseventeen/assets/css/blocks.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Description: Used to style blocks.
2020

2121
/* Captions */
2222

23-
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
23+
[class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
2424
font-style: italic;
2525
margin-bottom: 1.5em;
2626
text-align: left;
2727
}
2828

29-
.rtl [class^="wp-block-"]:not(.wp-block-gallery) figcaption {
29+
.rtl [class^="wp-block-"]:not(.wp-block-gallery) > figcaption {
3030
text-align: right;
3131
}
3232

src/wp-content/themes/twentysixteen/css/editor-blocks.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Description: Used to style blocks in the editor.
2727
line-height: 1.75;
2828
}
2929

30+
.rtl .editor-styles-wrapper {
31+
font-family: Arial, Tahoma, sans-serif;
32+
}
33+
3034
.edit-post-visual-editor .editor-block-list__block {
3135
color: #1a1a1a;
3236
}
@@ -262,16 +266,12 @@ Description: Used to style blocks in the editor.
262266

263267
/* Captions */
264268

265-
[class^="wp-block-"] figcaption {
269+
figure[class*="wp-block-"] > figcaption {
266270
color: #686868;
267271
font-style: italic;
268272
line-height: 1.6153846154;
269273
padding-top: 0.5384615385em;
270-
text-align: left;
271-
}
272-
273-
.rtl [class^="wp-block-"] figcaption {
274-
text-align: right;
274+
text-align: start;
275275
}
276276

277277
/*--------------------------------------------------------------

src/wp-content/themes/twentysixteen/css/editor-style.css

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -313,19 +313,22 @@ table th,
313313
.mce-item-table th,
314314
table caption {
315315
border-width: 0 1px 1px 0;
316-
font-size: 16px;
317316
font-weight: 700;
318317
padding: 7px;
319-
text-align: left;
318+
text-align: start;
320319
vertical-align: baseline;
321320
}
322321

322+
table caption {
323+
font-weight: normal;
324+
}
325+
323326
table td,
324327
.mce-item-table td {
325328
border-width: 0 1px 1px 0;
326-
font-size: 16px;
327329
padding: 7px;
328330
vertical-align: baseline;
331+
text-align: start;
329332
}
330333

331334
img {
@@ -502,6 +505,11 @@ fieldset {
502505
* 8.0 - RTL
503506
*/
504507

508+
body.rtl,
509+
[dir="rtl"] body {
510+
font-family: Arial, Tahoma, sans-serif;
511+
}
512+
505513
.rtl blockquote {
506514
border: 0 solid #1a1a1a;
507515
border-right-width: 4px;
@@ -533,9 +541,3 @@ fieldset {
533541
margin-right: 24px;
534542
margin-left: auto;
535543
}
536-
537-
.rtl table th,
538-
.rtl .mce-item-table th,
539-
.rtl table caption {
540-
text-align: right;
541-
}

0 commit comments

Comments
 (0)