Skip to content

Commit 4c5a039

Browse files
authored
Merge branch 'WordPress:trunk' into trunk
2 parents 010b6ea + e2a45c0 commit 4c5a039

104 files changed

Lines changed: 7954 additions & 5331 deletions

File tree

Some content is hidden

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

.github/workflows/coding-standards.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ on:
99
- '3.[89]'
1010
- '[4-9].[0-9]'
1111
tags:
12-
- '3.[89]*'
13-
- '[4-9].[0-9]*'
12+
- '[0-9]+.[0-9]'
13+
- '[0-9]+.[0-9].[0-9]+'
14+
- '!3.7.[0-9]+'
1415
pull_request:
1516
branches:
1617
- trunk

.github/workflows/end-to-end-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ on:
88
- '5.[3-9]'
99
- '[6-9].[0-9]'
1010
tags:
11-
- '5.[3-9]*'
12-
- '[6-9].[0-9]*'
11+
- '[0-9]+.[0-9]'
12+
- '[0-9]+.[0-9].[0-9]+'
13+
- '![34].[0-9].[0-9]+'
14+
- '!5.[0-2].[0-9]+'
1315
pull_request:
1416
branches:
1517
- trunk

.github/workflows/javascript-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
- '3.[89]'
99
- '[4-9].[0-9]'
1010
tags:
11-
- '3.[89]*'
12-
- '[4-9].[0-9]*'
11+
- '[0-9]+.[0-9]'
12+
- '[0-9]+.[0-9].[0-9]+'
13+
- '!3.7.[0-9]+'
1314
pull_request:
1415
branches:
1516
- trunk

.github/workflows/php-compatibility.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ on:
88
- '5.[5-9]'
99
- '[6-9].[0-9]'
1010
tags:
11-
- '5.[5-9]*'
12-
- '[6-9].[0-9]*'
11+
- '[0-9]+.[0-9]'
12+
- '[0-9]+.[0-9].[0-9]+'
13+
- '![34].[0-9].[0-9]+'
14+
- '!5.[0-4].[0-9]+'
1315
pull_request:
1416
branches:
1517
- trunk

.github/workflows/phpunit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
- '3.[7-9]'
88
- '[4-9].[0-9]'
99
tags:
10-
- '3.[7-9]*'
11-
- '[4-9].[0-9]*'
10+
- '[0-9]+.[0-9]'
11+
- '[0-9]+.[0-9].[0-9]+'
1212
pull_request:
1313
branches:
1414
- trunk

.github/workflows/slack-notifications.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
});
8585
8686
// This is the first workflow run for this branch or tag.
87-
if ( previous_runs.data.workflow_runs.length == 0 ) {
87+
if ( previous_runs.data.workflow_runs.length < 2 ) {
8888
return 'none';
8989
}
9090

.github/workflows/test-npm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- trunk
77
- '3.[7-9]'
88
- '[4-9].[0-9]'
9+
tags:
10+
- '[0-9]+.[0-9]'
11+
- '[0-9]+.[0-9].[0-9]+'
912
pull_request:
1013
branches:
1114
- trunk

phpcompat.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@
8484

8585
<!-- Whitelist the WP DB Class for use of `mysql_` extension in PHP < 7.0. -->
8686
<rule ref="PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved">
87-
<exclude-pattern>/src/wp-includes/wp-db\.php</exclude-pattern>
87+
<exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern>
8888
</rule>
8989
</ruleset>

phpcs.xml.dist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165

166166
<!-- Whitelist the WP DB Class and related tests for usage of direct database access functions. -->
167167
<rule ref="WordPress.DB.RestrictedFunctions">
168-
<exclude-pattern>/src/wp-includes/wp-db\.php</exclude-pattern>
168+
<exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern>
169169
<exclude-pattern>/tests/phpunit/tests/db/charset\.php</exclude-pattern>
170170
</rule>
171171

@@ -325,10 +325,10 @@
325325
</rule>
326326
<rule ref="PEAR.NamingConventions.ValidClassName.StartWithCapital">
327327
<exclude-pattern>/src/wp-admin/includes/class-wp-list-table-compat\.php</exclude-pattern>
328+
<exclude-pattern>/src/wp-includes/class-wp-dependency\.php</exclude-pattern>
328329
<exclude-pattern>/src/wp-includes/class-wp-editor\.php</exclude-pattern>
329330
<exclude-pattern>/src/wp-includes/class-wp-xmlrpc-server\.php</exclude-pattern>
330-
<exclude-pattern>/src/wp-includes/wp-db\.php</exclude-pattern>
331-
<exclude-pattern>/src/wp-includes/class-wp-dependency\.php</exclude-pattern>
331+
<exclude-pattern>/src/wp-includes/class-wpdb\.php</exclude-pattern>
332332
</rule>
333333

334334
<!-- Exclude some incorrectly named files that won't be renamed. -->

src/js/_enqueues/vendor/plupload/handlers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ jQuery( document ).ready( function( $ ) {
486486

487487
times = tryAgainCount[ file.id ];
488488

489-
if ( times && times > 4 ) {
489+
if ( times && times > 8 ) {
490490
/*
491491
* The file may have been uploaded and attachment post created,
492492
* but post-processing and resizing failed...

0 commit comments

Comments
 (0)