-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into fixed-header-custom-scroll
- Loading branch information
Showing
752 changed files
with
20,463 additions
and
23,486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/usr/bin/env node | ||
|
||
/** | ||
* External dependencies | ||
*/ | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Back-merging code to WordPress Core | ||
|
||
For major releases of the WordPress software, Gutenberg features need to be merged into WordPress Core. Typically this involves taking changes made in `.php` files within the Gutenberg repository and making the equivalent updates in the WP Core codebase. | ||
|
||
## Files/Directories | ||
|
||
Changes to files within the following files/directories will typically require back-merging to WP Core: | ||
|
||
- `lib/` | ||
- `phpunit/` | ||
|
||
## Ignored directories/files | ||
|
||
The following directories/files do _not_ require back-merging to WP Core: | ||
|
||
- `lib/load.php` - Plugin specific code. | ||
- `lib/experiments-page.php` - experiments are Plugin specific. | ||
- `packages/block-library` - this is handled automatically during the packages sync process. | ||
- `packages/e2e-tests/plugins` - PHP files related to e2e tests only. Mostly fixture data generators. | ||
- `phpunit/blocks` - the code is maintained in Gutenberg so the test should be as well. | ||
|
||
Please note this list is not exhaustive. | ||
|
||
## Pull Request Criteria | ||
|
||
In general, all PHP code committed to the Gutenberg repository since the date of the final Gutenberg release that was included in [the _last_ stable WP Core release](https://developer.wordpress.org/block-editor/contributors/versions-in-wordpress/) should be considered for back merging to WP Core. | ||
|
||
There are however certain exceptions to that rule. PRs with the following criteria do _not_ require back-merging to WP Core: | ||
|
||
- Does not contain changes to PHP code. | ||
- Has label `Backport from WordPress Core` - this code is already in WP Core. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.