Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6124 commits
Select commit Hold shift + click to select a range
815b17e
Networks and Sites: Correct capitalization in Upgrade Network admin n…
Aug 4, 2026
c60dba3
Toolbar: Improve the focus style indication.
Aug 4, 2026
71a2a03
Privacy: Fix checkbox alignment and highlight color.
Aug 4, 2026
a105958
Privacy: Fix checkbox alignment in request form.
Aug 4, 2026
439615d
Comments: Notify users mentioned in a note.
Aug 4, 2026
5bb4b68
Media: Correct the HEIC upload error message.
Aug 4, 2026
7e5d241
Media: Skip server-side image scaling during client-side media proces…
Aug 4, 2026
5f5d96b
REST API: Bound the size of media sideloaded from a URL.
Aug 4, 2026
7f81cb2
Networks and Sites: Improve user autocomplete search term handling.
Aug 5, 2026
3a20e59
Media: Normalize the order property in media models.
Aug 5, 2026
6904e89
REST API: Always register the media creation arguments.
Aug 5, 2026
e9e0be1
Build/Test Tools: Raise the PHPStan rule level to 1.
Aug 5, 2026
d8871f3
Build/Test Tools: Raise the PHPStan rule level to 2.
Aug 5, 2026
8eda2df
Build/Test Tools: Raise the PHPStan rule level to 3.
Aug 5, 2026
194916f
Build/Test Tools: Add missing baselines from PHPStan level 3 bump.
Aug 5, 2026
79d902a
Build/Test Tools: Raise the PHPStan rule level to 4.
Aug 5, 2026
b00336a
Build/Test Tools: Raise the PHPStan rule level to 5.
Aug 5, 2026
7d6fa3a
Tests: Add unit tests for `wp_privacy_exports_dir()`.
Aug 5, 2026
08993c3
General: Bump the pinned hash for Gutenberg to `f05e40`.
Aug 5, 2026
312b034
Coding Standards: Correct alignment of assignment operators.
Aug 5, 2026
2768106
Tests: Add unit tests for `wp_privacy_exports_url()`.
Aug 5, 2026
462a050
Media: Fix positioning of active spinner.
Aug 5, 2026
b9de765
I18N: Move trailing spaces out of translatable strings.
Aug 5, 2026
884f515
Upgrade/Install: Add removed icon files to `$_old_files`.
Aug 5, 2026
2d97c2e
Upgrade/Install: Correct `$_old_files` ordering for accuracy.
Aug 5, 2026
d5b4589
WordPress 7.1 RC 1.
Aug 5, 2026
7b887ba
Post WordPress 7.1 RC 1 version bump.
Aug 5, 2026
b21fdb7
Pings/Trackbacks: Auto-approve pingbacks and trackbacks from the same…
Aug 6, 2026
044a0d0
Build/Test Tools: Ignore PHPCS Security Advisory CVE-2026-67434
Aug 6, 2026
3700354
Emoji: Ensure that the emoji settings come from a script element.
Aug 6, 2026
efa21b2
Canonical: Only redirect for publicly viewable post types.
Aug 6, 2026
1374bc0
Administration: When `wp_is_large_user_count()`, ensure that the pos…
Aug 6, 2026
6c771d4
HTTP API: Improve compliance with IPv4 Special-Purpose Address Space.
Aug 6, 2026
db313f9
Formatting: Prevent stack overflow in `safecss_filter_attr`.
Aug 6, 2026
fb6fda3
Multisite: Enforce the active signup policy for existing users.
Aug 6, 2026
5bf5b16
Users: Ensure a proper email address is used before sending email con…
Aug 6, 2026
62fa679
General: Bump the pinned hash for Gutenberg to `7f0aa7`.
Aug 6, 2026
d46d101
Users: Prevent usernames from mangling HTML.
Aug 6, 2026
65b3c3e
WordPress 7.1 RC2.
Aug 6, 2026
3ca084e
Post WordPress 7.1 RC 2 version bump.
Aug 6, 2026
bec2556
General: Fix file issues.
Aug 6, 2026
f358f5e
Global styles: render element styles set only inside a breakpoint and…
Aug 7, 2026
6fe43d7
Docs: Revert "Indicate absint() returns non-negative-int...".
Aug 7, 2026
9410db4
Build/Test Tools: Extend the PHPUnit runner variable to the v1 and v2…
Aug 7, 2026
cdc5934
Tests: Correct `@var` annotation in REST users controller tests.
Aug 8, 2026
de2572b
Tests: Use `assertNull()` instead of `assertSame()` with `null`.
Aug 9, 2026
a608816
Build/Test Tools: Miscellaneous imrpovements after [62859].
Aug 10, 2026
7f8a28c
Build/Test Tools: Move `env:pull` retry logic.
Aug 10, 2026
65ab018
Build/Test Tools: Post-branching updates for `trunk`.
Aug 10, 2026
780b1d5
Code Quality: Correct the case of the `MO` class in a `WP_Locale_Swit…
Aug 10, 2026
e8f7455
Build/Test Tools: Add `@phpstan-assert` on `assertWPError` and `asser…
Aug 11, 2026
588cd50
Editor: Hoist `count()` out of `for` loop conditions.
Aug 11, 2026
7416a5c
Tests: Add unit tests for `wp_schedule_delete_old_privacy_export_file…
Aug 11, 2026
2b2b6a9
Docs: Reorder docblock annotations for send_confirmation_on_profile_e…
Aug 11, 2026
3397c1c
Administration: Remove no-JS notices from route-based screens.
Aug 11, 2026
5660c4d
Login and Registration: Clarify the "Remember Me" toggletip text.
Aug 11, 2026
b2ad188
Code Quality: Use `isset()` instead of `in_array()` over `array_keys(…
Aug 11, 2026
73c4e33
HTML API: Restore supported tags in modifiable text notice.
Aug 11, 2026
7578111
HTML API: Recognize form feed in RCDATA and RAWTEXT tag closers.
Aug 11, 2026
996c6d6
KSES: Allow functional CSS values in inline styles.
Aug 11, 2026
e2ae46d
Code Quality: Fully qualify the SimplePie cache type in a docblock.
Aug 11, 2026
ffcf3e9
Help/About: Update the About page for 7.1
Aug 11, 2026
15c4b04
Build/Test Tools: Skip `pull_request` triggered runs in private repos.
Aug 11, 2026
93f6c0e
Help/About: Remove an extra space in a string.
Aug 11, 2026
5226db0
Help/About: Correct the version description.
Aug 11, 2026
bf0784f
Toolbar: Inconsistent text hover color for top-level nodes.
Aug 11, 2026
e634c33
Toolbar: Match hover state to focus state.
Aug 11, 2026
193824c
Build/Test Tools: Treat `DB_COLLATE` and `WP_DEVELOPMENT_MODE` as dyn…
Aug 12, 2026
3767a6c
REST API: Bind finalize sub-size file names to their sideload.
Aug 12, 2026
d6de0ec
I18N: Add translator comments in `wp_notify_moderator()`.
Aug 12, 2026
2260498
Pings/Trackbacks: Adjust auto-approving pingbacks and trackbacks from…
Aug 12, 2026
7daaa50
Media: Prevent loading images into Imagick which might be PostScript.
Aug 12, 2026
4d48e14
Bundled themes: Version bumps for version 7.1.
Aug 12, 2026
ef4d2ff
Coding Standards: Lint the About page CSS.
Aug 12, 2026
c90e0c0
Build/Test Tools: Change workflow file references back to local ones.
Aug 12, 2026
6c4a263
HTML API: Make `class_list()` examples interactive.
Aug 13, 2026
3bbb42e
Build/Test Tools: Suppress every PHPStan baseline when regenerating.
Aug 13, 2026
5a96e2a
Tests: Clean up the `wp_delete_post()` unit tests.
Aug 13, 2026
abc50fe
Formatting: Document that escaping functions can take numbers.
Aug 14, 2026
c8e049b
Code Modernization: Use `array_key_first()` for an array's first key.
Aug 14, 2026
9120bb6
Return false from WP AI client support checks when the wrapped builde…
Aug 14, 2026
57b8740
Clone the wrapped builder when cloning WP_AI_Client_Prompt_Builder
Aug 14, 2026
36af6b1
Coding Standards: Add missing semicolon for error message output in P…
Aug 14, 2026
3ecb392
Code Quality: Annotate HTML API's `parse_next_tag()` as "impure" for …
Aug 14, 2026
21eb291
Tests: Use the modern PHPUnit stubbing and matcher shorthands.
Aug 15, 2026
6c0f205
Help/About: Optimize the About page images.
Aug 16, 2026
2b0b3b8
Toolbar: Revert focus and hover style changes.
Aug 16, 2026
e7739d5
Rewrite Rules: Only a leading `www.` is optional in `url_to_postid()`.
Aug 16, 2026
1fcc5c0
Build/Test Tools: Allow text compression in the local environment.
Aug 16, 2026
3150f65
Build/Test Tools: Remove all `npx` commands.
Aug 16, 2026
b2e9a22
Build/Test Tools: Distinguish between cancelled and timed out workflo…
Aug 16, 2026
582236f
Tests: Use `assertIsCallable()` for callable assertions.
Aug 16, 2026
1ae6d69
Filesystem API: Reject UNC and device paths in `validate_file()`.
Aug 16, 2026
62668de
Build/Test Tools: Make `SLACK_GHA_TIMEOUT_WEBHOOK` optional.
Aug 16, 2026
32c0322
Code Quality: Resolve return.empty PHPStan errors in baseline.
Aug 16, 2026
888f0d9
Build/Test Tools: Stop committing changes to tracked files in pull re…
Aug 16, 2026
728a605
Docs: Remove a blank line between `@param` and `@return` in core docb…
Aug 17, 2026
a554ae1
Docs: Add missing descriptions and declare types for `Translation_Ent…
Aug 18, 2026
8b91cc1
Build/Test Tools: Test 7.1 in upgrade testing workflows.
Aug 20, 2026
13aa7eb
Code Quality: Delete empty return.empty.neon PHPStan baseline file.
Aug 20, 2026
a51a237
Help/About: Update heading string to use placeholder.
Aug 21, 2026
497de8c
Aug 21, 2026
c1428bf
General: Make `get_tag_regex()` match tags non-greedily.
Aug 21, 2026
9b24d2d
Customize: Fix visual and DOM order mismatch of the Widgets panel but…
Aug 21, 2026
209e59b
Docs: Remove a blank line between `@param` and `@return` in test docb…
Aug 21, 2026
e63f564
Plugins: Prevent object IDs from becoming integer array keys.
Aug 21, 2026
efa89a0
Customize: Take into account longer translations for the Widgets pane…
Aug 21, 2026
caf7e3b
Customize: Fix visual and DOM order mismatch of the Menus panel buttons.
Aug 21, 2026
6f1a40d
Customize: Remove leading space from CSS selector in customize-contro…
Aug 21, 2026
9563942
Media: Restore the HEIC upload error on the media upload form.
Aug 21, 2026
b68222a
Docs: Remove an extra space in the docblock of `wp_ajax_nopriv_heartb…
Aug 22, 2026
860c6bb
Editor: Extract content from inside lists to generate post excerpts.
Aug 23, 2026
b3e2615
Build/Test Tools: Remove unused `wp_mail()` real-send script.
Aug 23, 2026
e5f0811
Site Health: Remove "default" text domain from translation function c…
Aug 23, 2026
5ba7fb8
Make the ability category optional
Aug 24, 2026
6af4b97
Code Quality: Resolve greater.invalid PHPStan errors in baseline.
Aug 24, 2026
3349238
Build/Test Tools: Remove unused PHPUnit profiler.
Aug 24, 2026
60e0d0b
Catch `Throwable` instances in `WP_AI_Client_Prompt_Builder`
Aug 25, 2026
3f5fdc5
Coding Standards: Replace remaining `join()` aliases with `implode()`.
Aug 25, 2026
e28172b
Connectors: Only validate submitted AI provider API keys
Aug 26, 2026
c862361
Editor: Append the post slug to single post template titles when post…
Aug 26, 2026
75683ef
Code Modernization: Replace `socket_set_timeout()` usage in Snoopy li…
Aug 26, 2026
558d0ff
Code Quality: Resolve the `isset.variable` PHPStan errors.
Aug 26, 2026
f8d3053
Customize: Emit valid `aria-pressed` on device buttons.
Aug 26, 2026
6655f47
Code Quality: Remove empty `greater.invalid` PHPStan baseline file.
Aug 26, 2026
cc80c3a
Cache API: Treat an unusable cached value as a miss.
Aug 26, 2026
fbd7acd
View configuration API: Add a Reading settings field.
Aug 27, 2026
3342ad0
Build/Test Tools: Treat request-scoped constants as dynamic in PHPStan.
Aug 27, 2026
1806675
Code Quality: Mark `have_posts()` and `have_comments()` as "impure" f…
Aug 27, 2026
a01819f
Code Quality: Narrow post and term query return types by `fields`.
Aug 27, 2026
ecc6a94
Administration: Improve wp namespace in password-strength-meter.js
Aug 27, 2026
00849cc
Code Quality: Update PHPStan baseline files after r63358.
Aug 27, 2026
6e3ab80
I18N: Fix just-in-time translation loading for network-activated plug…
Aug 27, 2026
99584cf
I18N: Simplify `WP_Textdomain_Registry::has()`.
Aug 27, 2026
f578e49
Administration: Improve consistency of the Dashboard widgets when Jav…
Aug 27, 2026
de9fe67
Build/Test Tools: Make Grunt `jshint:plugins` skip common dependency/…
Aug 27, 2026
6acebe6
Code Modernization: Use `array_find()` and `array_find_key()` where a…
Aug 27, 2026
c72064d
Code Quality: Support passing an int to `wp_parse_list()` et al.
Aug 27, 2026
c590bda
Code Quality: Narrow `$upgrader` type in upgrader skins.
Aug 27, 2026
759f0cb
Code Quality: Call private static methods via `self::`.
Aug 27, 2026
2043dd6
Media: Document PDF alpha channel return value.
Aug 27, 2026
e85c9e4
Administration: Fix the CSS Coding Standards in color-picker.css.
Aug 27, 2026
758610d
Administration: Fix the CSS Coding Standards in farbtastic.css.
Aug 27, 2026
061804d
Administration: Fix the CSS Coding Standards in site-icon.css.
Aug 27, 2026
14a9963
Administration: Fix the CSS Coding Standards in classic-themes.css.
Aug 27, 2026
e18f2f7
Administration: Fix the CSS Coding Standards in wp-auth-check.css.
Aug 27, 2026
a04367d
Administration: Fix the CSS Coding Standards in wp-embed-template.css.
Aug 27, 2026
9537399
Administration: Fix the CSS Coding Standards in wp-empty-template-ale…
Aug 27, 2026
ed77ba9
Administration: Fix the CSS Coding Standards in wp-pointer.css.
Aug 27, 2026
5bf6381
Code Quality: Add the documented `return null;` to 14 functions.
Aug 27, 2026
1e097e3
Code Quality: Resolve the remaining `return.missing` PHPStan errors.
Aug 27, 2026
25a91cb
HTML API: Refactor `wp_get_admin_notice()`.
Aug 28, 2026
ddcfed2
Code Quality: Resolve the `encapsedStringPart.nonString` error.
Aug 28, 2026
8c78705
Editor: Add the fit text CSS class to server-rendered blocks.
Aug 28, 2026
6794f59
Users: Document `comment_shortcuts` and `infinite_scrolling` properti…
Aug 28, 2026
4a8a86b
Code Quality: Call `WP_Theme_JSON`'s private statics via `self::`.
Aug 28, 2026
032e6b6
Themes: Correct slug generation for block template files.
Aug 28, 2026
7b282cd
Administration: Fix the CSS Coding Standards in buttons.css.
Aug 28, 2026
9748195
Administration: Fix the CSS Coding Standards in l10n.css.
Aug 28, 2026
d5f7783
Administration: Fix the CSS Coding Standards in sunrise colors.scss.
Aug 28, 2026
0953851
Administration: Fix the CSS Coding Standards in _variables.scss.
Aug 28, 2026
1bff82b
Administration: Fix the CSS Coding Standards in _mixins.scss.
Aug 28, 2026
f3c74e1
Abilities API: Add missing `@since 7.1.0` changelog entries
Aug 28, 2026
06c6908
Build/Test Tools: Update the `lint:jsdoc` configuration to be compati…
Aug 28, 2026
67c01d5
XML-RPC: Require the `$fields` argument to be an array.
Aug 28, 2026
33a4f87
Feeds: Add a filterable list of XML namespaces.
Aug 28, 2026
5f12958
Code Quality: Remove redundant closure parameter in `WP_User::has_cap…
Aug 28, 2026
d30211e
Build/Test Tools: Revert r63310 and r63313.
Aug 29, 2026
02778fd
Upgrade/Install: Update sodium_compat to v1.24.1.
Aug 29, 2026
e41cb81
Administration: Render a table row header in the Application Password…
Aug 30, 2026
98c9e23
Administration: Fix the Privacy tables row action text color contrast.
Aug 30, 2026
f819b4a
Embeds: Update click handler to follow deeply nested links.
Aug 30, 2026
b72512f
Tests: Use `assertIsNotArray()` for array type assertions.
Aug 30, 2026
1e78133
Embeds: Fix event handler variable within `linkClickHandler()`.
Aug 30, 2026
36d425e
Docs: Document functions within `embed-template.js`.
Aug 30, 2026
6759bae
Docs: Align hash notation with the values callers pass.
Aug 31, 2026
4b2da6e
Docs: Describe the shape of label, capability and setting data.
Aug 31, 2026
3eb17eb
General: Improve JavaScript inline code documentation part 1.
Aug 31, 2026
987d42d
General: Improve JavaScript inline code documentation part 2.
Aug 31, 2026
1f6b8f2
General: Improve JavaScript inline code documentation part 3.
Aug 31, 2026
4676feb
General: Improve JavaScript inline code documentation part 4.
Aug 31, 2026
ea95d00
Build/Test Tools: Publish PHPUnit timing metrics to CodeVitals.
Aug 31, 2026
bbd9fc3
Code Modernization: Use the null coalescing operator in `WP_Customize…
Aug 31, 2026
cdeeb95
Build/Test Tools: Flag slow PHPUnit tests in GitHub Actions.
Aug 31, 2026
e5a9035
Build/Test Tools: Expand path filtering for the old branch testing wo…
Aug 31, 2026
61ccf18
Build/Test Tools: Correct local environment failure handling.
Aug 31, 2026
c8d371f
Build/Test Tools: Retry local environment registry commands.
Aug 31, 2026
049287a
HTML API: Escape syntax characters in RCDATA.
Aug 31, 2026
7cf6e95
Code Quality: Narrow return types for field-plucking functions.
Sep 1, 2026
f3cc113
Build/Test Tools: Teach PHPStan to read hash notation.
Sep 1, 2026
b915feb
Code Quality: Fix PHPStan-identified static analysis regressions from…
Sep 1, 2026
e7c56c6
Code Modernization: Use `is_iterable()` instead of manual array or `T…
Sep 1, 2026
ac7748c
View Config: set summary fields.
Sep 2, 2026
c3cedd2
Build/Test Tools: Remove implicit dependencies on leaked state.
Sep 2, 2026
6dbfdc9
View config: add descriptions for table layout styles.
Sep 2, 2026
96b7245
Build/Test Tools: Stop spawning downgrade test jobs.
Sep 2, 2026
907af2b
Build/Test Tools: Allow PHPUnit workflows to test other repositories.
Sep 2, 2026
5186490
Code Quality: Correct three inverted `$display` return docs.
Sep 2, 2026
308c95d
Code Quality: Restore `void` on the dual-mode template tag.
Sep 2, 2026
08f1589
Posts, Post Types: Rebuild meta capabilities on unregistration.
Sep 2, 2026
a036d30
Code Modernization: Use the null coalescing assignment operator in si…
Sep 2, 2026
1640125
Docs: Correct the `WP_Block_Parser_Frame::leading_html_start` type.
Sep 3, 2026
4ee1582
Build/Test Tools: Allow the CSS precommit task to be skipped.
Sep 3, 2026
a0dbcfb
Build/Test Tools: Remove redundant Playwright setup from E2E CI.
Sep 3, 2026
88a113c
Build/Test Tools: Smoke test upgraded sites over HTTP.
Sep 3, 2026
4594876
Login and Registration: Align tooltip icon with control.
Sep 3, 2026
86dc344
Build/Test Tools: Add `.nvmrc` files to default themes.
Sep 3, 2026
f6d9378
Code Quality: Tighten the remaining documented types for hooks.
Sep 3, 2026
ef47b25
Administration: Fix plugin update row in narrow viewports.
Sep 3, 2026
e156f65
Code Modernization: Use `array_all()` in `WP_Widget_Media_Gallery::ha…
Sep 3, 2026
77d6fd0
Customize: Document and modernize the JS base API.
Sep 3, 2026
9aa189e
Customize: Correct the JSDoc for the controls API.
Sep 3, 2026
2600e5c
Customize: Correct the widgets and menus JSDoc.
Sep 3, 2026
52bb0e0
Customize: Correct the JSDoc in the preview frame.
Sep 3, 2026
f19cdb1
Customize: Document the header image models and views.
Sep 4, 2026
db9e1cd
REST API: Prevent fatal error when a null template reaches prepare_it…
Sep 4, 2026
c6d26fe
Build/Test Tools: Isolate the PHPStan baseline generation cache.
Sep 4, 2026
b7d3419
General: Recognize any numeric zero in `size_format()`.
Sep 4, 2026
e0be8ea
Build/Test Tools: Run the PHPStan node visitors on every parse.
Sep 4, 2026
0c037b0
HTML API: Simplify interactive `class_list()` examples.
Sep 4, 2026
0a21b0a
Build/Test Tools: Integrate lint:jsdoc into the Core development work…
Sep 4, 2026
743ddac
Build/Test Tools: Revert r63445.
Sep 4, 2026
fd7f7d7
PHPUnit tests: Simplify font-face test fixtures.
Sep 4, 2026
a8ed554
Build/Test Tools: Make the WordPress installation E2E test repeatable.
Sep 4, 2026
ca221cf
Editor: Skip state styles for blocks without a `style` attribute.
Sep 4, 2026
bc64579
Build/Test Tools: Support branch pinning when testing Gutenberg build…
Sep 4, 2026
86c241d
Build/Test Tools: Run PHPUnit tests against PHP 8.6.
Sep 4, 2026
474555a
Administration: Use `wp_print_inline_script_tag()` in more places.
Sep 4, 2026
3e1a994
Administration: Fix doubled border on mobile for paused plugins.
Sep 4, 2026
2fbc03a
Code Quality: Remove redundant `parent_post_type` property from templ…
Sep 4, 2026
fc5042d
Build/Test Tools: Regenerate PHPStan baselines for `property.onlyWrit…
Sep 4, 2026
85be7fc
Code Quality: Refine the dual-mode template tag annotations.
Sep 5, 2026
823a803
Taxonomy: Fix `wp_get_object_terms()` when requesting a count.
Sep 5, 2026
d84095d
Role/Capability: Ensure `wp_roles()` returns `WP_Roles`.
Sep 5, 2026
235ab84
Docs: Align `@param` tag columns in general core API docblocks.
Sep 5, 2026
c97b996
Docs: Align `@param` tag columns in administration docblocks.
Sep 5, 2026
588e67f
Docs: Align `@param` tag columns in REST API docblocks.
Sep 5, 2026
381e7fa
Docs: Align `@param` tag columns in upgrade, plugin, and theme docblo…
Sep 5, 2026
8be8550
Docs: Align `@param` tag columns in block editor docblocks.
Sep 5, 2026
1210ee3
Docs: Align `@param` tag columns in users and multisite docblocks.
Sep 5, 2026
4830f60
Docs: Align `@param` tag columns in post, comment, taxonomy, and medi…
Sep 5, 2026
4447fcf
Bundled Themes: Document the parameters of five template functions.
Sep 5, 2026
bed2f11
Administration: Fix the CSS Coding Standards in _tokens.scss.
Sep 5, 2026
f5b31c7
Administration: Remove line-height values in pixels from _tokens.scss.
Sep 5, 2026
09b9ce0
Code Modernization: Use the null coalescing assignment operator for d…
Sep 5, 2026
9de78c3
Administration: Fix the CSS Coding Standards in jquery-ui-dialog.css.
Sep 5, 2026
c6deaec
Administration: Fix the CSS Coding Standards in revisions.css.
Sep 5, 2026
a16ec8c
Administration: Fix the CSS Coding Standards in admin-bar.css.
Sep 5, 2026
65a0ebe
Administration: Remove unnecessary empty line in buttons.css.
Sep 5, 2026
3b2dd63
Administration: Fix the CSS Coding Standards in admin-menu.css.
Sep 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"name": "WordPress Core Development",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"workspaceFolder": "/workspace",

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"username": "wordpress"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "14"
"version": "20"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/git:1": {}
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
volumes:
- ../..:/workspaces:cached
- ..:/workspace:cached

db:
image: mariadb
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else
fi

# Install dependencies
cd /workspaces/wordpress-develop
cd /workspace
npm install && npm run build:dev

# Install WordPress and activate the plugin/theme.
Expand Down
64 changes: 0 additions & 64 deletions .env

This file was deleted.

78 changes: 78 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
##
# Default configuration options for the local dev environment.
#
# All of these options can be overridden by setting them as environment variables before starting
# the environment. You will need to restart your environment when changing any of these.
#
# Below, the following substitutions can be made:
# - '{version}': any major.minor PHP version from 5.2 onwards.
##

# The site will be available at http://localhost:LOCAL_PORT
LOCAL_PORT=8889

# Where to run WordPress from. Valid options are 'src' and 'build'.
LOCAL_DIR=src

# Whether or not to enable text compression (gzip) in the web server.
# Valid options are 'on' and 'off'.
LOCAL_NGINX_COMPRESSION=off

# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
LOCAL_PHP=latest

# Whether or not to enable Xdebug.
LOCAL_PHP_XDEBUG=false

##
# The Xdebug features to enable.
#
# By default, the following features are enabled in the local environment:
# - Development helpers (`develop`).
# - Step debugging (`debug`).
#
# To generate a code coverage report, `coverage` mode must be active.
#
# For a full list of accepted values, see https://xdebug.org/docs/all_settings#mode.
##
LOCAL_PHP_XDEBUG_MODE=develop,debug

# Whether or not to enable Memcached.
LOCAL_PHP_MEMCACHED=false

##
# The database software to use.
#
# Supported values are `mysql` and `mariadb`.
##
LOCAL_DB_TYPE=mysql

##
# The database version to use.
#
# Defaults to 9.7 with the assumption that LOCAL_DB_TYPE is set to `mysql` above.
#
# When using `mysql`, see https://hub.docker.com/_/mysql for valid versions.
# When using `mariadb`, see https://hub.docker.com/_/mariadb for valid versions.
##
LOCAL_DB_VERSION=9.7

# Whether or not to enable multisite.
LOCAL_MULTISITE=false

# The debug settings to add to `wp-config.php`.
LOCAL_WP_DEBUG=true
LOCAL_WP_DEBUG_LOG=true
LOCAL_WP_DEBUG_DISPLAY=true
LOCAL_SCRIPT_DEBUG=true
LOCAL_WP_ENVIRONMENT_TYPE=local
LOCAL_WP_DEVELOPMENT_MODE=core
LOCAL_WP_TESTS_DOMAIN=example.org

# The URL to use when running e2e tests.
WP_BASE_URL=http://localhost:${LOCAL_PORT}

##
# This silences the tips output by the dotenv package.
##
DOTENV_CONFIG_QUIET=true
15 changes: 0 additions & 15 deletions .eslintignore

This file was deleted.

85 changes: 58 additions & 27 deletions .eslintrc-jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,29 +1,60 @@
module.exports = {
rules: {
'require-jsdoc': 'off',
'valid-jsdoc': [ 'error', {
prefer: {
arg: 'param',
argument: 'param',
extends: 'augments',
returns: 'return',
/**
* ESLint v10 flat config file for JSDoc linting.
* This config is based on the original valid-jsdoc rules.
*/

const jsdocPlugin = require( 'eslint-plugin-jsdoc' );

module.exports = [
{
plugins: {
jsdoc: jsdocPlugin,
},
settings: {
jsdoc: {
tagNamePreference: {
'arg': 'param',
'argument': 'param',
'extends': 'augments',
'returns': 'return',
},
preferredTypes: {
'array': 'Array',
'bool': 'boolean',
'Boolean': 'boolean',
'float': 'number',
'Float': 'number',
'function': 'Function',
'int': 'number',
'integer': 'number',
'Integer': 'number',
'Number': 'number',
'object': 'Object',
'String': 'string',
'Void': 'void',
},
},
preferType: {
array: 'Array',
bool: 'boolean',
Boolean: 'boolean',
float: 'number',
Float: 'number',
int: 'number',
integer: 'number',
Integer: 'number',
Number: 'number',
object: 'Object',
String: 'string',
Void: 'void',
},
requireParamDescription: false,
requireReturn: false,
} ],
},
rules: {
'jsdoc/check-param-names': 'error',
'jsdoc/check-types': 'error',
'jsdoc/check-tag-names': [ 'error', {
definedTags: [
'memberOf',
'output',
'ticket',
'link',
],
} ],
'jsdoc/require-param': [ 'error', {
enableFixer: false,
} ],
'jsdoc/require-param-type': 'error',
'jsdoc/require-returns-check': 'error',
'jsdoc/require-returns-description': 'error',
'jsdoc/require-returns': 'error',
'jsdoc/require-returns-type': 'error',
'jsdoc/check-syntax': 'error',
},
},
};
];
24 changes: 24 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,27 @@ f4f1b4821342fd1d58708356b3ec39d6fefe31ac # [33411]

# Coding Standards
8f95800d52c1736d651ae6e259f90ad4a0db2c3f # [42343]

# 6.8 Coding Standards
a4d6fb7c96cb46859e6d48a5d4c06fdeea7d039b # [59292]
9dd87b8f91300917447c271968d3c36289b440e8 # [59558]
# 903b1fe840d4232bbc249d32d8981824e5fa71de # [59953] includes a punctuation change
a96fa164b00ed51c7c0481574834cff92ab9b1f0 # [60043]
7607cbc5d1e770451f1a2b61d851820dfa23bb43 # [60044]
7047a91c0ecdbf43d4a7a0a591464cd1ed2f2c4b # [60046]
1aa6da693ad739b78752a55d154cd48cb757b90b # [60047]
d44e1c2ce2dc638e89ed6a1d02b1cfadb8a15fe7 # [60048]
a18719e7ea49ab7ac0091e076840cb7efdf51cc5 # [60049]

# 6.9 Coding Standards
d0d89b62485e724e3d06f01981dd1940b2f36fce # [60074]
c53010159b60735ffa6ba5fa8a416ff0e86a159c # [60109]
cbb6519119276ceba4279eaee73ab66294ebd820 # [60402]
3d736c763e0b1384c65abfa3bcf6d3bc45869516 # [60664]
b96f25f5c31bfd1580c21084c368098792b4c741 # [60780]
ff6c5fadfa6272685d910b474917ecb6adc17f10 # [60808]
08b2f9cfe9064873a501c3543e2c995405431dcc # [60816]
e683403cc1856113e3cb010b1579dcd01cdef5fc # [61036]
8d24041c08a58b2f79504699fb3f63d01737b876 # [61075]
87cbbb1dfcf19fcfc128fc66603462a649d01502 # [61087]
db1b4811e5ab8df343b03032d7607abe01a9e8e2 # [61138]
10 changes: 0 additions & 10 deletions .github/dependabot.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,25 @@ If this is your first time contributing, you may also find reviewing these guide
- Inline Documentation Standards: https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/
- Browser Support Policies: https://make.wordpress.org/core/handbook/best-practices/browser-support/
- Proper spelling and grammar related best practices: https://make.wordpress.org/core/handbook/best-practices/spelling/
- ✨ If you are using AI tools, you must adhere to the AI Guidelines: https://make.wordpress.org/ai/handbook/ai-guidelines/
-->

<!-- Insert a description of your changes here -->

Trac ticket: <!-- insert a link to the WordPress Trac ticket here -->

## Use of AI Tools

<!--
You are free to use artificial intelligence (AI) tooling to contribute, but you must disclose what tooling you are using and to what extent a pull request has been authored by AI. It is your responsibility to review and take responsibility for what AI generates. See the WordPress AI Guidelines: <https://make.wordpress.org/ai/handbook/ai-guidelines/>.
Example disclosure:
AI assistance: Yes
Tool(s): GitHub Copilot, ChatGPT
Model(s): GPT-5.1
Used for: Initial code skeleton and test suggestions; final implementation and tests were reviewed and edited by me.
-->

---
**This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See [GitHub Pull Requests for Code Review](https://make.wordpress.org/core/handbook/contribute/git/github-pull-requests-for-code-review/) in the Core Handbook for more details.**
28 changes: 28 additions & 0 deletions .github/workflows/cleanup-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Cleanup Pull Requests

on:
push:
branches:
- trunk
- '4.[1-9]'
- '[5-9].[0-9]'

# Cancels all previous workflow runs for pull requests that have not completed.
concurrency:
# The concurrency group contains the workflow name and the branch name for pull requests
# or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}

jobs:
# Runs pull request cleanup.
close-prs:
name: Clean up pull requests
permissions:
pull-requests: write
if: ${{ github.repository == 'WordPress/wordpress-develop' }}
uses: ./.github/workflows/reusable-cleanup-pull-requests.yml
Loading