Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
891 commits
Select commit Hold shift + click to select a range
e94cd29
Themes: Properly escape `home_url()` when changing and updating themes.
desrosj Jul 6, 2022
e4f2830
REST API: Consolidate menu item `type_label` schema declaration.
audrasjb Jul 7, 2022
1976886
Docs: Misc. docblock enhancements in `WP_REST_Menu_Items_Controller` …
audrasjb Jul 7, 2022
599b714
Build/Test Tools: Add and fix @covers tags to the attachments and blo…
azaozz Jul 7, 2022
b419dd4
Tests: Remove duplicate testcase `test_get_privacy_policy_url_should_…
azaozz Jul 7, 2022
4790a10
Build/Test Tools: Add @covers tags to the url test group.
azaozz Jul 7, 2022
faebeca
Build/Test Tools: Add @coversNothing tags to the tests for some conte…
azaozz Jul 7, 2022
1329b08
Build/Test Tools: Add @covers tags to the `taxonomy` and `category` t…
azaozz Jul 7, 2022
5650aa6
Media:
azaozz Jul 7, 2022
5880ac8
Tests: Separate the tests in `basic.php` for clarity.
SergeyBiryukov Jul 7, 2022
4b22694
Tests: Remove `@uses` tags from the test suite.
SergeyBiryukov Jul 8, 2022
537e523
Tools: Automate backporting core blocks from Gutenberg to Core
gziolo Jul 8, 2022
2424c48
Docs: Add missing function descriptions in `wp-admin/includes/update.…
audrasjb Jul 8, 2022
464f94f
Docs: Improve description for `wp_plugin_update_rows()` and `wp_theme…
SergeyBiryukov Jul 9, 2022
01021eb
Docs: Correct the type of the `$number` parameter in `ngettext*` filt…
SergeyBiryukov Jul 10, 2022
7932ebc
Editor: Include user's name in the `wp_refresh_post_lock()` response.
SergeyBiryukov Jul 11, 2022
5c041f5
Users: Allow conditional supression of the email notifications that a…
johnbillion Jul 12, 2022
0aba11a
I18N: Remove code from a translatable string in `wp-includes/ms-defau…
SergeyBiryukov Jul 14, 2022
0c41143
Text Changes: Improve consistency of punctuation in some strings.
SergeyBiryukov Jul 14, 2022
27cfc58
Tests: Use a consistent way of setting the Administrator role in Ajax…
SergeyBiryukov Jul 14, 2022
a5038e7
Coding Standards: Rename the `$user_id` parameter of `get_user_locale…
SergeyBiryukov Jul 15, 2022
c5c6ee3
Docs: Document that `allowed_tags()` is no longer used in core as of …
SergeyBiryukov Jul 15, 2022
3fa0773
Docs: Correct `@since` tags introduced in WordPress 6.0.1.
SergeyBiryukov Jul 15, 2022
ab2cd6f
Permalinks: Label and describe permalink settings fields.
joedolson Jul 15, 2022
e9c9c59
Login: Explicitly associate errors with input fields.
joedolson Jul 15, 2022
9341481
Coding Standards: Missed space in code indentation in [53707].
joedolson Jul 15, 2022
b977f5b
Administration: Audible messages on AJAX error cases.
joedolson Jul 16, 2022
ee26676
Coding Standards: Improve readability of `wp-admin/options-permalink.…
SergeyBiryukov Jul 16, 2022
98bb983
Permalinks: Add a guiding paragraph on the Permalink Settings screen.
SergeyBiryukov Jul 16, 2022
b2f108b
Permalinks: Use `home_url()` to set the URL base on Permalink Setting…
SergeyBiryukov Jul 17, 2022
b05fbba
Coding Standards: Use a single input array on Permalink Settings screen.
SergeyBiryukov Jul 17, 2022
7573385
Coding Standards: Use `MINUTE_IN_SECONDS` where appropriate.
SergeyBiryukov Jul 17, 2022
a855e85
Posts, Post Types: Standardize on `$post` parameter name where approp…
SergeyBiryukov Jul 18, 2022
9b323cd
Twenty Twenty-One: Add block type suggestions to block patterns.
audrasjb Jul 19, 2022
9db156e
Upgrade/Install: Improve plugin update icon alignment.
audrasjb Jul 19, 2022
41475f3
Editor: Fix `register_block_type` does not recognise `ancestor` block…
gziolo Jul 19, 2022
b49a83c
Coding Standards: Improve variable names in `wp-trackback.php`.
SergeyBiryukov Jul 19, 2022
92ba1bb
Coding Standards: Remove unused variable in `wp-trackback.php`.
SergeyBiryukov Jul 19, 2022
847d407
REST API: Add `prepare_links` method to `WP_REST_Post_Types_Controlle…
spacedmonkey Jul 19, 2022
eaad35d
REST API: Add `prepare_links` method to `WP_REST_Taxonomies_Controlle…
spacedmonkey Jul 19, 2022
788a070
Coding Standards: Rename `$comment_post_ID` and `$comment_author_IP` …
SergeyBiryukov Jul 19, 2022
e49f452
Coding Standards: Use consistent placement for `::prepare_links()` me…
SergeyBiryukov Jul 19, 2022
2437ef5
External Libraries: Update the Moment library to version 2.29.4.
desrosj Jul 19, 2022
efee559
Plugins: Improve color contrast on plugins screen when recovery mode …
audrasjb Jul 20, 2022
6cea6ea
Docs: Fix indentation issues in `block-template-utils.php` docblocks,…
audrasjb Jul 20, 2022
5d8e134
Docs: Use third-person singular verbs for function descriptions in `b…
audrasjb Jul 20, 2022
8753454
Coding Standards: Standardize on `user_id` when passing data to comme…
Jul 20, 2022
906a564
Coding Standards: Remove extra comma in a `compact()` call.
SergeyBiryukov Jul 20, 2022
2dba383
Administration: Remove unused CSS selectors related to old format men…
desrosj Jul 20, 2022
57f4d6c
Tests: Correct the test for passing all expected parameters to the `p…
SergeyBiryukov Jul 20, 2022
b698f8f
Posts, Post Types: Correct the check for non-existing post in `get_po…
SergeyBiryukov Jul 20, 2022
a93aae2
Docs: Add a `@since` note for `get_post_permalink()` returning `false…
SergeyBiryukov Jul 20, 2022
b2b8a0c
Build/Test Tools: Correctly detect the first workflow run for a branc…
desrosj Jul 20, 2022
f6e21e2
Build/Test Tools: Make the GitHub Action pattern matching for tags mo…
desrosj Jul 20, 2022
c48672b
Build/Test Tools: Add tag pattern matching for the testing NPM workflow.
desrosj Jul 20, 2022
fbbc402
Twenty Twenty-One: Rebuild the IE specific stylesheet.
desrosj Jul 20, 2022
3fbd6a9
Docs: Use third-person singular verbs for function descriptions in `g…
audrasjb Jul 20, 2022
a925aab
Themes: Add a hook to filter theme header image URL.
audrasjb Jul 20, 2022
cdd361b
Docs: Add missing function description in `wp-admin/includes/comment.…
audrasjb Jul 20, 2022
3c93ce8
Docs: Use third-person singular verbs for function descriptions in `w…
audrasjb Jul 20, 2022
3a20f3e
Embeds: Add Pocket Casts as a trusted oEmbed provider.
peterwilsoncc Jul 21, 2022
bf61851
Administration: Add labels to read-only form fields.
audrasjb Jul 21, 2022
03f4781
Docs: Add missing function description in `wp-admin/includes/template…
audrasjb Jul 21, 2022
f98e99c
Coding Standards: Adjust the logic slightly in `wp_ajax_replyto_comme…
SergeyBiryukov Jul 21, 2022
b01c8f1
Docs: Update `do_action()` docblock code example.
audrasjb Jul 21, 2022
fdb6e13
Coding Standards: Move `wp-includes/wp-db.php` to `wp-includes/class-…
SergeyBiryukov Jul 21, 2022
0a9e88b
Coding Standards: Replace the old `wp-db.php` filename in `phpcompat.…
SergeyBiryukov Jul 21, 2022
9bbf398
Media: enable generating multiple mime types for image uploads; speci…
adamsilverstein Jul 21, 2022
e25668d
Application Passwords: Link a more accurate documentation page in Use…
audrasjb Jul 21, 2022
ae75749
Upgrade/Install: track php extensions and image library support for W…
adamsilverstein Jul 21, 2022
1d5d9e2
Formatting: Normalize to Unicode NFC encoding before converting accen…
audrasjb Jul 21, 2022
1bcb980
Coding Standards: Check if the `_deprecated_file()` function exists i…
SergeyBiryukov Jul 21, 2022
334c3ca
Coding Standards: Use `__DIR__` instead of `ABSPATH` in `wp-db.php`.
SergeyBiryukov Jul 21, 2022
b3b2758
Docs: Provide a more accurate description for `wp_is_theme_directory_…
audrasjb Jul 22, 2022
e822a9a
Administration: Correct the escaping in documentation lookup for plug…
SergeyBiryukov Jul 22, 2022
3506684
REST API: Use `wp_get_lastest_revision_id_and_total_count` function i…
spacedmonkey Jul 22, 2022
b7bae69
REST API: Avoid unnecessarily preparing item links.
spacedmonkey Jul 22, 2022
f3339e9
Twenty Twenty-One: Update NPM dependencies.
desrosj Jul 22, 2022
bd151a9
Bundled Themes: Update NPM dependencies for Twenty Twenty and Twenty …
desrosj Jul 22, 2022
40768e4
Cache API: Add `wp_cache_flush_group` function.
spacedmonkey Jul 22, 2022
ce00971
Media: Allow filtering audio file metadata in `wp_read_audio_metadata…
audrasjb Jul 23, 2022
6db7bb8
Docs: Fix indentation issues in `wp_read_video_metadata` and `wp_read…
audrasjb Jul 23, 2022
f0ddd2e
Docs: Add function description and `@since` mention for `get_upload_i…
audrasjb Jul 23, 2022
c937a1a
Cache API: Make the placement of `wp_cache_flush_group()` more consis…
SergeyBiryukov Jul 23, 2022
a560641
Docs: Document that the `$file_format` parameter of metadata filters …
SergeyBiryukov Jul 23, 2022
7e8feef
Revisions: Correct the function name for retrieving the last revision…
SergeyBiryukov Jul 23, 2022
e2a45c0
Docs: List the expected type first in a few functions:
SergeyBiryukov Jul 23, 2022
6cbed78
Posts, Post Types: Check if the post type exists in `wp_insert_post()`.
SergeyBiryukov Jul 24, 2022
c1cf07e
REST API: Prime post caches in comments endpoint.
peterwilsoncc Jul 25, 2022
4ed912c
Tests: Add failure messages for site icon and custom logo tests.
SergeyBiryukov Jul 25, 2022
36fcd57
Tests: Declare `custom-logo` theme support for custom logo tests.
SergeyBiryukov Jul 25, 2022
730a15c
Docs: Refine `@return` docblock mentions for `esc_sql()`, `wp_slash()…
audrasjb Jul 25, 2022
0d7487b
Docs: Remove an obsolete function description in `addslashes_gpc()`.
audrasjb Jul 25, 2022
e5bd74c
Media: Prevent URLs from overflowing their container in the media edi…
audrasjb Jul 25, 2022
ce154a4
Revisions: Rename the function for retrieving the latest revision ID …
SergeyBiryukov Jul 25, 2022
c3ff3db
Revisions: Update the "last revision" wording to "latest revision" in…
SergeyBiryukov Jul 25, 2022
1d020c1
Docs: Improve parameter descriptions in `render_block` and `render_bl…
audrasjb Jul 26, 2022
4ec275f
Taxonomy: Allow filtering Ajax term search results in quick edit.
audrasjb Jul 26, 2022
13e664a
Tests: Bring some modernization to `wp_insert_post()` tests.
SergeyBiryukov Jul 26, 2022
d5fe7bc
Tests: Move `wp_publish_post()` tests to their own file.
SergeyBiryukov Jul 26, 2022
52f51f5
Site Editor: Pass correct context into get_block_categories
gziolo Jul 27, 2022
09808ef
Tests: Move `wp_insert_post()` tests to their own file.
SergeyBiryukov Jul 27, 2022
a9c64ad
Media: Add information about additional MIME type sources to attachme…
felixarntz Jul 27, 2022
c52486b
Tests: Don't unnecessarily set the author in some `wp_insert_post()` …
SergeyBiryukov Jul 27, 2022
5e2861c
Tests: Don't unnecessarily randomize the post type in some `wp_insert…
SergeyBiryukov Jul 27, 2022
9f5935c
Tests: Use named data providers in some `wp_insert_post()` tests.
SergeyBiryukov Jul 27, 2022
7b43b08
Tests: Simplify some assertions in `Tests_Media`.
SergeyBiryukov Jul 28, 2022
a091693
Cron API: Modify `_get_cron_array()` to always return an array.
peterwilsoncc Jul 29, 2022
00a2b65
Docs: Various docblock improvements in Export Administration API, as …
audrasjb Jul 29, 2022
6d5d482
Themes: Allow remote pattern registration in `theme.json` when core p…
audrasjb Jul 29, 2022
407f319
Docs: Various docblock improvements in Importer Administration API, a…
audrasjb Jul 29, 2022
968dde1
Tests: Simplify some function calls in `Tests_Media`.
SergeyBiryukov Jul 29, 2022
0a126fd
Comments: Improve accessibility of the "Logged in as" link in comment…
audrasjb Jul 29, 2022
19ee843
Twenty Twenty: Ensure comments section links are identifiable as links.
audrasjb Jul 29, 2022
ac18fe8
Docs: Various docblock fixes in `WP_Date_Query` class, as per docs st…
audrasjb Jul 30, 2022
da50ef9
Docs: Fix `$feature` parameter type in `block_has_support()`.
audrasjb Jul 30, 2022
6048dd6
Docs: Use more inclusive language in PHPCS configuration files.
SergeyBiryukov Jul 30, 2022
338c69d
Coding Standards: Use more meaningful variables names in some Ajax fu…
SergeyBiryukov Jul 30, 2022
95efa62
Tests: Correct alignment in `has_filter()` unit test.
SergeyBiryukov Jul 31, 2022
65e266e
Plugins: Introduce `did_filter()` function.
SergeyBiryukov Jul 31, 2022
0ec5fb3
Tests: Update the terminology used for action or filter names in hook…
SergeyBiryukov Jul 31, 2022
ebd66f9
Tests: Update the terminology used for action or filter names in `Moc…
SergeyBiryukov Jul 31, 2022
cd7a792
Tests: Move the test for actions using closures to the general action…
SergeyBiryukov Jul 31, 2022
5849d4f
Tests: Update a transients test to account for terminology changes in…
SergeyBiryukov Jul 31, 2022
299ac4d
Tests: Move the test for action callback representations to the gener…
SergeyBiryukov Jul 31, 2022
10b2b08
Docs: Improve description for `doing_filter()` and `doing_action()`.
SergeyBiryukov Aug 1, 2022
d91b774
Date/Time: Increase test coverage of `wp_date()`.
peterwilsoncc Aug 1, 2022
fd1e1f1
Docs: Improve the description of param `$list ` in `wp_list_sort()` d…
audrasjb Aug 2, 2022
86fd171
Database: Suppress errors when checking the validity of table prefix …
SergeyBiryukov Aug 2, 2022
5dff1e8
Posts, Post Types: Force unique slugs for draft posts.
audrasjb Aug 3, 2022
b5b0c8e
Docs: Use third-person singular verbs for function descriptions in `W…
audrasjb Aug 3, 2022
66dba67
Administration: Change default site tagline to an empty string.
audrasjb Aug 3, 2022
4def4f8
Site Health: Improve the wording in plugin and theme version tests.
SergeyBiryukov Aug 3, 2022
ec70b4c
Coding Standards: Remove extra space in two conditionals.
SergeyBiryukov Aug 3, 2022
ad93e63
Cache API: Validate cache key in `WP_Object_Cache` methods.
SergeyBiryukov Aug 3, 2022
1aa576b
Twenty Eleven: Use more specific CSS selectors for `.required` styles.
audrasjb Aug 3, 2022
e6f7520
Twenty Eleven: Remove a useless CSS comment after [53819].
audrasjb Aug 3, 2022
a164d64
Tests: Add a unit test for `WP_Object_Cache::is_valid_key()`.
SergeyBiryukov Aug 4, 2022
dc06726
Tests: Add a test case with a float value for `WP_Object_Cache::is_va…
SergeyBiryukov Aug 4, 2022
183bfc8
Coding Standards: Wrap long lines with global cache groups for better…
SergeyBiryukov Aug 4, 2022
2fc9367
Tests: Simplify the list of global groups in object cache tests.
SergeyBiryukov Aug 4, 2022
e9fa9a5
Posts, Post Types: Change variable name in `wp_set_post_terms()` for …
desrosj Aug 4, 2022
bd6f081
Tests: Remove the list of global groups in Memcached implementation u…
SergeyBiryukov Aug 4, 2022
c47f438
Docs: Various corrections and improvements to inline documentation.
johnbillion Aug 4, 2022
0a35283
Tests: Make the `comment` cache group persistent in `WP_UnitTestCase_…
SergeyBiryukov Aug 4, 2022
54106e0
Tests: Remove the list of non-persistent groups in Memcached implemen…
SergeyBiryukov Aug 4, 2022
15b2748
Tests: Move `wp_cache_replace()` test to a more appropriate place.
SergeyBiryukov Aug 4, 2022
87fc331
Docs: Remove obsolete comment in object cache tests.
SergeyBiryukov Aug 4, 2022
13e076e
Coding Standards: Reorder global cache groups alphabetically for some…
SergeyBiryukov Aug 4, 2022
d1b3e1c
Tests: Correct data providers for `get_term_link()` and `get_edit_ter…
SergeyBiryukov Aug 4, 2022
74c8b7f
Tests: Add more test cases for `WP_Object_Cache::is_valid_key()`.
SergeyBiryukov Aug 4, 2022
2c30565
Tests: Use named data provider for `WP_Object_Cache::is_valid_key()` …
SergeyBiryukov Aug 4, 2022
02c5d3a
Tests: Combine test classes for `get_edit_term_link()` tests.
SergeyBiryukov Aug 4, 2022
1934444
Docs: Provide a more accurate `@return` type for `get_pages()` function.
audrasjb Aug 5, 2022
b96a51c
Sitemaps: Prevent invalid provider names throwing errors.
peterwilsoncc Aug 5, 2022
ad03949
Coding standards: Properly escape URLs returned by `self_admin_url()`…
audrasjb Aug 5, 2022
60284ca
Coding standards: Properly escape URLs returned by `self_admin_url()`…
audrasjb Aug 5, 2022
8180585
Revisions: Use `latest_id` as the array key for the latest revision ID.
SergeyBiryukov Aug 5, 2022
cc4a86d
Revisions: Use `wp_get_latest_revision_id_and_total_count()` where ap…
SergeyBiryukov Aug 5, 2022
5abf5f6
Docs: Various docblock fixes in `wp-admin/includes/image.php` class, …
audrasjb Aug 5, 2022
39ade7e
Plugins: Properly encode query string `s` parameter in plugin search.
audrasjb Aug 5, 2022
6b3a677
Media: remove unused `_wp_image_belongs_to_attachment` function.
adamsilverstein Aug 5, 2022
beabd7a
Script loader: enable resource preloading with rel='preload'.
adamsilverstein Aug 5, 2022
2615c4d
Media: correct a misnamed variable when creating sub sizes with `mult…
adamsilverstein Aug 5, 2022
3deb9e9
Media: use original image size data for full size secondary mime gene…
adamsilverstein Aug 5, 2022
d6b46b9
Tests: Rename the test class for `wp_preload_resources()` tests.
SergeyBiryukov Aug 6, 2022
350d5e4
Code Modernization: Remove dynamic properties in `Tests_POMO_PO`.
SergeyBiryukov Aug 7, 2022
8b98406
Code Modernization: Remove unused dynamic property in `Tests_WP_Custo…
SergeyBiryukov Aug 7, 2022
9d2f309
Code Modernization: Remove dynamic properties in `Tests_Media_GetPost…
SergeyBiryukov Aug 7, 2022
278081e
Code Modernization: Remove dynamic properties in `Tests_Post_Revisions`.
SergeyBiryukov Aug 7, 2022
101e686
Code Modernization: Remove dynamic properties in `Tests_File`.
SergeyBiryukov Aug 7, 2022
025193b
Code Modernization: Remove unused `$undefined` property in `Tests_WP_…
SergeyBiryukov Aug 7, 2022
fbfba47
Code Modernization: Let `MockClass` extend `stdClass`.
SergeyBiryukov Aug 7, 2022
3e866f8
Rewrite rules: Prevent malformed date requests throwing notices.
peterwilsoncc Aug 7, 2022
0e9917f
Editor: Safeguard `has_blocks()` against fatal errors.
audrasjb Aug 8, 2022
ba870c4
Docs: Various docblock fixes in `wp-includes/blocks.php`, as per docs…
audrasjb Aug 8, 2022
374052e
Filesystem: Rewrite FTP/FTP Sockets `exists()` methods to implement a…
audrasjb Aug 8, 2022
e14d948
Tests: Improve the test for not throwing a warning on malformed date …
SergeyBiryukov Aug 8, 2022
041a925
Docs: Improve `@since` notes for some `WP_Filesystem_*` methods:
SergeyBiryukov Aug 8, 2022
57b08d1
Build/Test Tools: Add @covers tags to the comments tests.
azaozz Aug 8, 2022
a3a9260
Build/Test Tools: Add @covers tags to the import tests.
azaozz Aug 8, 2022
87fc701
Build/Test Tools: Add @covers tags to the options tests.
azaozz Aug 8, 2022
f441051
Build/Test Tools: Add @covers tags to the l10n and i18n tests.
azaozz Aug 8, 2022
fdcb89a
Build/Test Tools: Update @covers tags for the load tests.
azaozz Aug 8, 2022
11cc06c
Administration: Improve performance of List Tables.
peterwilsoncc Aug 9, 2022
60493f3
Taxonomy: Prevent non string taxonomy names generating warnings or er…
audrasjb Aug 9, 2022
ecd5e00
Docs: Consistently document the `$excluded_terms` variable in `get_ad…
ocean90 Aug 9, 2022
1f2f4bc
Docs: Various docblock fixes in Core Taxonomy API, as per docs standa…
audrasjb Aug 9, 2022
9b04bb6
Coding Standards: Rename the `$file` parameter to `$path` in some `WP…
SergeyBiryukov Aug 9, 2022
6aecbb7
Docs: Clarify that `register_taxonomy()` only accepts lowercase value…
audrasjb Aug 10, 2022
9c8b1ba
I18N: Introduce `WP_Textdomain_Registry` to store text domains and th…
swissspidy Aug 11, 2022
134cbc5
Twenty Eleven: Correct inline translator comment.
desrosj Aug 11, 2022
2b6107d
Docs: Remove code tags from WordPress function names within inline do…
johnbillion Aug 11, 2022
0f1f17e
Docs: Correct and improve the documented types for various functions …
johnbillion Aug 11, 2022
8d745ce
Docs: Miscellaneous inline documentation improvements.
johnbillion Aug 11, 2022
57d6313
Docs: Revert two changes that need to instead be made upstream in the…
johnbillion Aug 11, 2022
93c52bc
Bundled Themes: Remove closing PHP tag at the end of files.
desrosj Aug 11, 2022
e999a8b
XML-RPC: Correct the documented arguments for XML-RPC server methods.
johnbillion Aug 11, 2022
7bb8dc6
Application Passwords: Allow a Super Admin to set an application pass…
johnbillion Aug 11, 2022
40c19e4
Posts, Post Types: Prevent categories from being overwritten when upd…
johnbillion Aug 11, 2022
299c848
Login and Registration: Introduce `is_login_screen()` function.
SergeyBiryukov Aug 11, 2022
c2e2e55
Media: Cache parent posts in query-attachments AJAX endpoint.
peterwilsoncc Aug 12, 2022
38037eb
Formatting: Add support for Enums in `is_serialized()`.
audrasjb Aug 12, 2022
e44c3c4
Docs: Use third-person singular verbs for function descriptions in `w…
audrasjb Aug 12, 2022
902530b
General: Add required fields helper functions for better reusability.
audrasjb Aug 12, 2022
c45ea39
Tests: Use named data provider for `is_serialized_string()` tests.
SergeyBiryukov Aug 12, 2022
d1e22db
Tests: Bring some consistency to serialization tests.
SergeyBiryukov Aug 13, 2022
01c9ea7
Query: Be better at forcing data types for query vars.
johnbillion Aug 13, 2022
dfcc2f6
Editor: Document the arguments for registering a block style.
johnbillion Aug 13, 2022
0a2b351
Taxonomy: Introduce the `is_term_publicly_viewable()` function.
johnbillion Aug 13, 2022
33368fc
Taxonomy: Add a test file that was missed in [53893].
johnbillion Aug 13, 2022
0e04c0a
Build/Test Tools: Move the Memcached container into the Docker Compos…
johnbillion Aug 13, 2022
d51b039
Coding Standards: Restore correct regex formatting in `dbDelta()`.
SergeyBiryukov Aug 14, 2022
3736855
Database: Ignore display width for integer data types in `dbDelta()` …
SergeyBiryukov Aug 15, 2022
286fe4c
Upgrade/Install: Make `WP_Filesystem_FTPext::size()` return `false` o…
SergeyBiryukov Aug 16, 2022
c5b4cd8
Build/Test Tools: Increase the Dependabot pull request limit for GitH…
desrosj Aug 16, 2022
002ca62
Mail: Prevent the last character of names in “From” headers from bei…
desrosj Aug 16, 2022
4a21302
Query: Cast the meta key to `BINARY` for case-sensitive key compariso…
SergeyBiryukov Aug 17, 2022
3ef65f7
Build/Test Tools: Only define `WP_PLUGIN_DIR` when running core tests.
SergeyBiryukov Aug 17, 2022
5aee8db
Script Loader: Remove default DNS prefetch entry for s.w.org.
audrasjb Aug 18, 2022
4da6f65
Docs: Use third-person singular verbs for function descriptions in `W…
audrasjb Aug 18, 2022
9341d69
Themes: Add a Block Themes filter in Theme Install Screen.
audrasjb Aug 18, 2022
459e5d5
Coding Standards: Remove a one-time variable in `themes.view.Installe…
SergeyBiryukov Aug 18, 2022
74fa60b
Themes: Include a hyphen in the Block Themes tab key on Add Themes sc…
SergeyBiryukov Aug 19, 2022
224e9ec
Tests: Assign created fixtures to the dedicated class properties in s…
SergeyBiryukov Aug 19, 2022
cef2139
Docs: Remove incorrect default value for `$path` argument of `admin_u…
desrosj Aug 19, 2022
868be75
Permalinks: Fix aria-live text when removing custom structure.
joedolson Aug 19, 2022
13a3c4c
Embeds: Fix missing labels and duplicate IDs.
joedolson Aug 19, 2022
de3fbde
Taxonomy: Associate field descriptions with fields.
joedolson Aug 19, 2022
f96eb8e
Coding Standards: Check for deprecated options before `wp_installing()`.
SergeyBiryukov Aug 20, 2022
1648e71
Coding Standards: Simplify the logic in `wp_not_installed()`.
SergeyBiryukov Aug 20, 2022
e119438
Code Modernization: Remove dynamic properties in theme tests.
SergeyBiryukov Aug 21, 2022
45fbc51
External Libraries: Upgrade PHPMailer to version 6.6.4.
SergeyBiryukov Aug 22, 2022
5d78ecb
Database: Account for `utf8` being renamed to `utf8mb3` in newer Mari…
SergeyBiryukov Aug 22, 2022
3e74023
Tests: Correct MariaDB version check in database charset tests.
SergeyBiryukov Aug 22, 2022
4bfbe07
Tests: Clean up test image before performing assertions in image tests.
SergeyBiryukov Aug 22, 2022
85ae9dd
Tests: Consistently skip tests for non-implemented methods in REST AP…
SergeyBiryukov Aug 22, 2022
f6e8153
Build/Test Tools: Enable running the tests on PHP 8.2.
SergeyBiryukov Aug 23, 2022
d385497
Help/About: Improve vertical alignment in the Additional Design Tools…
SergeyBiryukov Aug 23, 2022
ba75033
Editor: Ensure `get_block_templates()` returns unique templates or te…
SergeyBiryukov Aug 23, 2022
0fb2e69
Editor: Backport bug fixes from Gutenberg into Core for WP 6.0.2 RC
gziolo Aug 23, 2022
edd8568
Themes: Add support for `Update URI` header.
SergeyBiryukov Aug 23, 2022
b351a2f
Media: Account for Windows when normalizing file paths.
antpb Aug 23, 2022
ad00d45
Code Modernization: Remove dynamic properties in `WP_Test_REST_Posts_…
SergeyBiryukov Aug 24, 2022
6a854ec
Code Modernization: Remove dynamic properties in `WP_Test_REST_Users_…
SergeyBiryukov Aug 24, 2022
28716eb
Code Modernization: Remove dynamic properties in `WP_UnitTestCase_Base`.
SergeyBiryukov Aug 24, 2022
e75087c
Code Modernization: Remove dynamic properties in `Tests_Comment_Walker`.
SergeyBiryukov Aug 24, 2022
6ab901e
Docs: Correct typo in `wp_maybe_clean_new_site_cache_on_update()` par…
desrosj Aug 24, 2022
193406a
Build/Test Tools: Update third-party GitHub Actions to latest versions.
desrosj Aug 24, 2022
7f7d616
Query: Cache post ID database query within `WP_Query`.
peterwilsoncc Aug 25, 2022
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
  •  
  •  
  •  
15 changes: 14 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,22 @@ LOCAL_DIR=src
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
LOCAL_PHP=latest

# Whether or not to enable XDebug.
# 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

Expand Down
50 changes: 50 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Pinking shears
a4789b3cc1cb59e5cd062670f4439f264c0d34f3 # [12042]
fb4e38b0e750c0cab5eb4c50532da93e2d9882b3 # [15843]
4b33a0e9c45d67c5f3123577262f73727444254a # [16438]
fa33255b567df6b19ccc3a61824ad243db116993 # [16439]
46d96c7704b978b9d070bfec1cb1a33e4caf46b0 # [18254]
feaf2597bf16b1bd6b489a0e5680501f12990bee # [18276]
9e7890c3f61781200b9337186d85cd4034edac61 # [18386]
fd10e500e47ca1ae3280ac6817e725965f7fc0dc # [19054]
6610e321e79d9b56c6fc496b6630dd2ac664a0d3 # [19528]
d26f0a4c407a5d13a095c7676b397e51a959d82c # [19577]
89e9bcc1d69ebbac01c8c4501f9066e421125e66 # [20000]
8c50f982ea9784fe06844ce84b1a3297b1241442 # [20715]
b6e23d7269e50296270f93dda96dacb118bee8b3 # [20944]
48a3ec24c5ea7615431bde431098546674a0096c # [21070]
2439e4d722f5093631c4bac9a45106ab33624aaa # [21381]
56c4577feae624f7a3bf55d001295e0707c972b6 # [21486]
680b671330327f2568549dec9460a2e942219d55 # [21492]
dd39a3b3d2d1f792b6ed8e88b1fcc13877fbd8dd # [22491]
6d8bce688f5215ad20133b2cefedc72ac5136be3 # [22634]
05c0f14024a2bb8ef9bdfcb84589d04205f8ce24 # [23679]
ece7a7714477142d4cdb3269d2f9ad3d5dab2e5f # [23780]
687d1a2ce992a0e7e24675b506b85a57e42fe78e # [24303]
45d2a20783460667f85d5fdced422efd54c33b72 # [24603]
c8889d984fd98381d6f0bd3228972e93348f1266 # [25085]
# 21da24227f2c0087c95f44c60b1bca65cedf0611 # [25824] includes a punctuation change
30f822b8ee767c0b07fe1780f2829de0cba8c314 # [25880]
1cdb0ac2fa5452e58d7a002b260d594a581af02e # [26475]
37a37b5fc578d945376cf3b66b4a23265d6491f3 # [26597]
bda43fd1071ed45ded3def7872866f62e40af9f5 # [26627]
98fe4a5aedfdaa8c769bf2aaedc58eb63d342320 # [26631]
d6e06a2ee5c15b19ca80b9162f3e19c06b5af34d # [26714]
cfd5c395bb3ba810edaec6cf4483212181823d2e # [26851]
2ec5e68249bdacee9ac0ce59fad91b1149244af8 # [27123]
305e72859a4154fc96bac7774ab7808ead6a06d4 # [29169]
ca32a2d410f954b6b40d23f3392ba53e62a3d9f1 # [29707]
48a504cc50a16f60a395ace8d133130e3d6962f5 # [30047]
b539bd985bdf2dde162f46fcbf14e51e46ff8be7 # [30372]
9a3942ffd82b28a77982e0a0d1c2bb0b8a70ce44 # [30996]
469164785ff8defefbfcdf972c57d9004c273256 # [31077]
c4e9c64233166957cd1cbcc54ff54b1a02edd3b5 # [31623]
f4f1b4821342fd1d58708356b3ec39d6fefe31ac # [33411]
0ec540b946eaebebc7e8ee39a8e4738914e7f2a3 # [33627]
0c5bd752629b0960c6f43ca212a64724e4f40346 # [34534]
991feb70438e981290696fa2b4fbe2ea54696a02 # [34774]
6911ff11308089eace23719fc50160d403081a8e # [35627]
8df8cf2df14fe26174f97af5bb17d63f2e867231 # [42843]

# Coding Standards
8f95800d52c1736d651ae6e259f90ad4a0db2c3f # [42343]
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ updates:
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
25 changes: 13 additions & 12 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ on:
- '3.[89]'
- '[4-9].[0-9]'
tags:
- '3.[89]*'
- '[4-9].[0-9]*'
- '[0-9]+.[0-9]'
- '[0-9]+.[0-9].[0-9]+'
- '!3.7.[0-9]+'
pull_request:
branches:
- trunk
Expand Down Expand Up @@ -63,10 +64,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: Set up PHP
uses: shivammathur/setup-php@ac7d3d7f84d81a029c20ab72d60264bdb7535831 # v2.15.0
uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2
with:
php-version: '7.4'
coverage: none
Expand All @@ -84,13 +85,13 @@ jobs:
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"

- name: Cache PHPCS scan cache
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
with:
path: .cache/phpcs.json
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }}

- name: Install Composer dependencies
uses: ramsey/composer-install@a7320a0581dcd0432930c48a0e7ced67e6ec17e8 # v1.3.0
uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
with:
composer-options: "--no-progress --no-ansi --no-interaction"

Expand All @@ -115,10 +116,10 @@ jobs:
#
# Performs the following steps:
# - Checks out the repository.
# - Logs debug information about the runner container.
# - Installs NodeJS 14.
# - Logs debug information about the GitHub Action runner.
# - Installs NodeJS.
# - Logs updated debug information.
# _ Installs NPM dependencies using install-changed to hash the `package.json` file.
# _ Installs NPM dependencies.
# - Run the WordPress JSHint checks.
# - Ensures version-controlled files are not modified or deleted.
jshint:
Expand All @@ -131,7 +132,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: Log debug information
run: |
Expand All @@ -141,9 +142,9 @@ jobs:
svn --version

- name: Install NodeJS
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
with:
node-version: 14
node-version-file: '.nvmrc'
cache: npm

- name: Log debug information
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: End-to-end Tests

on:
# The end to end test suite was introduced in WordPress 5.3.
# The end-to-end test suite was introduced in WordPress 5.3.
push:
branches:
- trunk
- '5.[3-9]'
- '[6-9].[0-9]'
tags:
- '5.[3-9]*'
- '[6-9].[0-9]*'
- '[0-9]+.[0-9]'
- '[0-9]+.[0-9].[0-9]+'
- '![34].[0-9].[0-9]+'
- '!5.[0-2].[0-9]+'
pull_request:
branches:
- trunk
Expand All @@ -31,11 +33,11 @@ jobs:
# Runs the end-to-end test suite.
#
# Performs the following steps:
# - Set environment variables.
# - Sets environment variables.
# - Checks out the repository.
# - Logs debug information about the runner container.
# - Installs NodeJS 14.
# _ Installs NPM dependencies using install-changed to hash the `package.json` file.
# - Logs debug information about the GitHub Action runner.
# - Installs NodeJS.
# _ Installs NPM dependencies.
# - Builds WordPress to run from the `build` directory.
# - Starts the WordPress Docker container.
# - Logs general debug information.
Expand All @@ -57,7 +59,7 @@ jobs:
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV

- name: Checkout repository
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: Log debug information
run: |
Expand All @@ -71,9 +73,9 @@ jobs:
locale -a

- name: Install NodeJS
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
with:
node-version: 14
node-version-file: '.nvmrc'
cache: npm

- name: Install Dependencies
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:
- '3.[89]'
- '[4-9].[0-9]'
tags:
- '3.[89]*'
- '[4-9].[0-9]*'
- '[0-9]+.[0-9]'
- '[0-9]+.[0-9].[0-9]+'
- '!3.7.[0-9]+'
pull_request:
branches:
- trunk
Expand Down Expand Up @@ -42,10 +43,10 @@ jobs:
#
# Performs the following steps:
# - Checks out the repository.
# - Logs debug information about the runner container.
# - Installs NodeJS 14.
# - Logs debug information about the GitHub Action runner.
# - Installs NodeJS.
# - Logs updated debug information.
# _ Installs NPM dependencies using install-changed to hash the `package.json` file.
# _ Installs NPM dependencies.
# - Run the WordPress QUnit tests.
# - Ensures version-controlled files are not modified or deleted.
test-js:
Expand All @@ -56,7 +57,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: Log debug information
run: |
Expand All @@ -66,9 +67,9 @@ jobs:
svn --version

- name: Install NodeJS
uses: actions/setup-node@270253e841af726300e85d718a5f606959b2903c # v2.4.1
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
with:
node-version: 14
node-version-file: '.nvmrc'
cache: npm

- name: Log debug information
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ on:
- '5.[5-9]'
- '[6-9].[0-9]'
tags:
- '5.[5-9]*'
- '[6-9].[0-9]*'
- '[0-9]+.[0-9]'
- '[0-9]+.[0-9].[0-9]+'
- '![34].[0-9].[0-9]+'
- '!5.[0-4].[0-9]+'
pull_request:
branches:
- trunk
Expand Down Expand Up @@ -57,10 +59,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

- name: Set up PHP
uses: shivammathur/setup-php@ac7d3d7f84d81a029c20ab72d60264bdb7535831 # v2.15.0
uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2
with:
php-version: '7.4'
coverage: none
Expand All @@ -78,13 +80,13 @@ jobs:
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"

- name: Cache PHP compatibility scan cache
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
with:
path: .cache/phpcompat.json
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }}

- name: Install Composer dependencies
uses: ramsey/composer-install@a7320a0581dcd0432930c48a0e7ced67e6ec17e8 # v1.3.0
uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
with:
composer-options: "--no-progress --no-ansi --no-interaction"

Expand Down
Loading