Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
422 commits
Select commit Hold shift + click to select a range
bb2f8a6
Build/Test Tools: Add basic e2e coverage for Gutenberg.
ockham Nov 30, 2022
112d161
Build/Test Tools: Stylistic changes to Gutenberg e2e test.
ockham Nov 30, 2022
75aaa65
Coding Standards: Fix indentation of multi-line chained method call i…
SergeyBiryukov Nov 30, 2022
2380400
Coding Standards: Remove redundant semicolon after `get_template_hier…
SergeyBiryukov Nov 30, 2022
999b52e
Coding Standards: Fix a non-snake_case function name in `WP_Block` te…
SergeyBiryukov Nov 30, 2022
82a3016
Security: Update supported WordPress versions in security policy.
peterwilsoncc Nov 30, 2022
63df881
Security: Improve accessibility of security policy.
peterwilsoncc Nov 30, 2022
5697adc
Coding Standards: Remove a one-time `$loading` variable in `get_avata…
SergeyBiryukov Dec 1, 2022
1e65a9a
Build/Test Tools: Improve caching for PHPCS.
desrosj Dec 1, 2022
4963aee
Twenty Ten: Remove unwanted `title` attributes.
audrasjb Dec 1, 2022
14d1973
Twenty Thirteen: Remove unwanted `title` attributes.
audrasjb Dec 1, 2022
7871b02
Twenty Twelve: Remove unwanted `title` attributes.
audrasjb Dec 1, 2022
d27a075
Twenty Twenty: Remove unwanted `title` attributes.
audrasjb Dec 1, 2022
2c018e6
Options, Meta APIs: Improve error messages in Options Management Admi…
audrasjb Dec 1, 2022
51fae8b
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 2, 2022
a1f333c
Media: Fix the version string of `imgAreaSelect` to indicate when the…
azaozz Dec 2, 2022
9a7d57a
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 3, 2022
fccbc18
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 4, 2022
82f8820
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 4, 2022
8b81e70
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 4, 2022
a9afc8e
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 5, 2022
8a211be
Security: Remove useless `span` tags from `SECURITY.md`.
audrasjb Dec 5, 2022
1f0af5b
Customize: Fix a wrong condition on `WP_Customize_Manager::has_publis…
audrasjb Dec 5, 2022
87f9ee8
Quick edit: Fix cases where the author field is empty when the user n…
azaozz Dec 6, 2022
3eb3f07
External Libraries: Upgrade PHPMailer to version 6.7.
SergeyBiryukov Dec 6, 2022
f889a5c
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 6, 2022
7a9ffd0
Revisions: Use `update_post_author_caches` in `wp_prepare_revisions_f…
spacedmonkey Dec 6, 2022
08dfd2b
Users: Clear the user_meta cache when `clean_user_cache` function is …
Dec 6, 2022
ed6fa5c
Media: Use featured image if available for attachment as preview inst…
spacedmonkey Dec 6, 2022
ab0feb8
Tests: Change the `wp_cache_get_multiple` function to get cache keys …
spacedmonkey Dec 6, 2022
291bf03
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 6, 2022
b8f1fae
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 6, 2022
ae42add
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 6, 2022
3d4879e
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 7, 2022
bf0653f
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 7, 2022
905bc96
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 7, 2022
0e9c555
Tests: Use more descriptive name for a `wp_new_comment()` test.
SergeyBiryukov Dec 8, 2022
5b5f222
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 8, 2022
e0fd300
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 8, 2022
cb99ef0
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 9, 2022
ee09cad
Docs: Improve various globals documentation, as per documentation sta…
audrasjb Dec 9, 2022
0c4bd8c
Docs: Add missing type for `$_wp_theme_features` in `WP_Debug_Data::d…
SergeyBiryukov Dec 9, 2022
1b42990
Tests: Temporarily disable a `WP_Http` test for multiple `Location` h…
SergeyBiryukov Dec 10, 2022
bb60004
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 11, 2022
ea5a524
Docs: Improve DocBlock formatting for `get_post_class()`.
SergeyBiryukov Dec 12, 2022
d40be7b
Docs: Mark some optional parameters as such in `wp-includes/comment-t…
SergeyBiryukov Dec 12, 2022
0dbdf59
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 12, 2022
453161d
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 12, 2022
508e9b9
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 13, 2022
d5ef1d8
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 13, 2022
d18ab99
Options, Meta APIs: Correct the documented return type for `get_setti…
johnbillion Dec 13, 2022
608bbf5
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 13, 2022
f41d9d9
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 13, 2022
40c097e
Build/Test Tools: Run Xdebug tests on PHP 8.2.
desrosj Dec 14, 2022
4b4faae
Built/Test tools, HTTP API: Refactor test for multiple location headers.
peterwilsoncc Dec 14, 2022
099b797
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 14, 2022
97cce2b
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 14, 2022
ff308b5
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 14, 2022
c317dc5
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 14, 2022
9d6a0a3
Menus: Reset `menu_item_parent` to 0 when the parent is set to the it…
azaozz Dec 14, 2022
ac587db
Build/Test tools: Remove 3.7-4.0 branches from scheduled test runs.
peterwilsoncc Dec 15, 2022
98fd38f
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 15, 2022
d7dd42d
External Libraries: Update Requests library to version 2.0.0.
hellofromtonya Dec 15, 2022
9ea4e8d
Themes: Improve performance of `_add_block_template_part_area_info` a…
spacedmonkey Dec 15, 2022
1a85350
Menus: Prevent infinite loop in menus.
peterwilsoncc Dec 16, 2022
12c69be
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 16, 2022
eb21dd9
Site Health: Remove the WordPress 5.2 reference from the email sent o…
SergeyBiryukov Dec 17, 2022
bbbb949
Docs: Update docs for `image_sideload_extensions` filter to include `…
audrasjb Dec 17, 2022
1fbc27e
Docs: Improve various globals documentation, as per docblock standards.
audrasjb Dec 18, 2022
7c590f2
Twenty Seventeen: Document the `$twentyseventeencounter` global.
SergeyBiryukov Dec 18, 2022
e27c5a3
Menus: Account for legacy calls to `nav_menu_css_class` filter.
peterwilsoncc Dec 18, 2022
dd9fa21
Tests: Correct a flaky `wp_nonce_field()` test.
SergeyBiryukov Dec 19, 2022
429829d
HTTP API: Adds BC-layer `/library/Requests.php` file.
hellofromtonya Dec 19, 2022
0082775
Themes: Adds outline CSS properties support in theme.json.
hellofromtonya Dec 19, 2022
50c6474
Themes: Alphabetize the properties list in `WP_Theme_JSON::VALID_STYL…
SergeyBiryukov Dec 20, 2022
fba12b6
I18N: Change how `WP_Textdomain_Registry` caches translation informat…
swissspidy Dec 20, 2022
e993bc5
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 21, 2022
acc0fb1
External Libraries: Update jQuery to 3.6.3.
peterwilsoncc Dec 22, 2022
0ae94f9
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 22, 2022
c169050
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 23, 2022
7005e6d
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 24, 2022
8b8030e
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 25, 2022
a320754
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 26, 2022
ac9573b
Docs: Remove the legacy example of passing a taxonomy to `get_terms()`.
SergeyBiryukov Dec 27, 2022
d0fc6dd
Tests: Bring some consistency to creating and updating objects in fac…
SergeyBiryukov Dec 28, 2022
95191d3
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 29, 2022
8a71ae1
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 30, 2022
0284a22
Coding Standards: Add visibility to `Tests_Dependencies::test_enqueue…
SergeyBiryukov Dec 30, 2022
c999e7e
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Dec 31, 2022
7978e05
Happy New Year! 🎄
SergeyBiryukov Jan 1, 2023
e088de6
Tests: Update the terminology used for filter names in `tests_add_fil…
SergeyBiryukov Jan 2, 2023
15cd32a
Networks and Sites: Mark required fields as such in New User Form.
audrasjb Jan 2, 2023
309553e
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 3, 2023
53063c6
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 4, 2023
d8f3118
Tests: Bring some consistency to mocking HTTP requests in unit tests.
SergeyBiryukov Jan 5, 2023
45053ef
Mail: allow custom attachment filenames in `wp_mail()`.
JJJ Jan 5, 2023
0968787
Tests: Use correct variable in `_fake_download_url_non_200_response_c…
SergeyBiryukov Jan 5, 2023
bf6ca94
Coding Standards: Fix WPCS issues in `phpunit/tests/pluggable/wpMail.…
SergeyBiryukov Jan 5, 2023
0b3a68d
Coding Standards: Correct alignment in `wp-includes/option.php`.
SergeyBiryukov Jan 5, 2023
700dfe6
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 6, 2023
5a49722
Query: Stop priming posts twice in `WP_Query`.
spacedmonkey Jan 6, 2023
7cd8e57
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 7, 2023
4f813e3
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 8, 2023
199f332
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 9, 2023
268eac2
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 9, 2023
bacd0f0
Pings/Trackbacks: Remove a mention of the "Page" post type from the D…
audrasjb Jan 9, 2023
d6665e6
Twenty Twenty-Three: Fix incorrect gradient values in Aubergine theme.
audrasjb Jan 9, 2023
50e9ae1
Help/About: Improve comments keyboard shortcuts HelpHub links.
audrasjb Jan 10, 2023
8f44c44
Docs: Align spelling with American English.
audrasjb Jan 10, 2023
5a32388
Docs: Align spelling with American English.
audrasjb Jan 10, 2023
76253b9
General: Align spelling with American English.
audrasjb Jan 10, 2023
234698c
HTTP API: Use correct class reference for Requests' HTTP Proxy in `WP…
SergeyBiryukov Jan 10, 2023
0d39c0a
I18N: Initialize `WP_Locale` array properties.
hellofromtonya Jan 10, 2023
80bb61d
General: revert [55045].
audrasjb Jan 11, 2023
f3dc060
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 11, 2023
c45465c
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 11, 2023
a930d25
Docs: Align spelling with American English.
audrasjb Jan 11, 2023
c3aed4a
Code Modernization: Fix a jQuery Migrate deprecation in `wpdialog`.
audrasjb Jan 11, 2023
0aa20cc
Formatting: Improve performance of `esc_url()`.
felixarntz Jan 11, 2023
55c3459
Date/Time: Prevent errors in `current_time()` when using timestamp an…
audrasjb Jan 11, 2023
5836a43
Upgrade/Install: Revert a temporary conditional for testing the Rollb…
SergeyBiryukov Jan 12, 2023
344c4dc
Users: Add an action hook on `wp_set_password()`.
audrasjb Jan 12, 2023
9dcb8f9
Docs: Correct the type of the `$user_id` parameter in `wp_set_passwor…
SergeyBiryukov Jan 12, 2023
771a0c9
Build/Test Tools: Fix an incorrect inline comment in `Tests_Ajax_wpAj…
audrasjb Jan 12, 2023
515d3fe
Menus: Compare `$menu_item->ID` and `$menu_item->menu_item_parent` as…
azaozz Jan 12, 2023
f8904ff
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 13, 2023
9d48ae3
Bundled Themes: Add Mastodon domains for menu item icons.
audrasjb Jan 13, 2023
4912e01
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 13, 2023
1c9f84f
HTTP API: Correct the documentation for the `https_ssl_verify` and `h…
johnbillion Jan 13, 2023
f254a95
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 13, 2023
be2f7bb
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 13, 2023
c17a476
Tests: Move the test for `wp_save_image_file()` with a GD resource to…
SergeyBiryukov Jan 14, 2023
cb87135
Themes: Add opt-in Appearance Tools support for Classic Themes.
audrasjb Jan 14, 2023
f434da3
Embeds: Update Mixcloud oEmbed URL to the new domain.
audrasjb Jan 14, 2023
b223ec0
HTTP API: Correct the name of a filter referenced in the docs for `wp…
johnbillion Jan 15, 2023
3a63ed2
Tests: Use more specific assertions in image saving tests.
SergeyBiryukov Jan 15, 2023
124a4a9
Docs: Improve `wp_style_add_data()` function description.
audrasjb Jan 15, 2023
61074b9
Docs: Use third-person singular verbs for Script Loader related funct…
audrasjb Jan 15, 2023
682c579
Docs: Typo correction in POP3 class `send_cmd()` inline docs.
audrasjb Jan 15, 2023
253b2db
Docs: Add a missing quote to `wp_is_large_network()` Docblock params.
audrasjb Jan 15, 2023
78f6ac9
Docs: Various docblock fixes in Multisite WordPress API related funct…
audrasjb Jan 15, 2023
9a309c3
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 16, 2023
f7bb05a
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 16, 2023
f438c0b
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 16, 2023
659694d
Editor: Update packages to unblock lazy-loading issues.
felixarntz Jan 16, 2023
d9ec853
Docs: Remove unused `post_modified` and `post_modified_gmt` params fr…
audrasjb Jan 16, 2023
e8eda98
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 17, 2023
7f788f3
Administration: Use a consistent capitalization in Privacy Policy rel…
audrasjb Jan 17, 2023
ec6b2f2
Taxonomy: Remove placeholder from `WP_Term_Query` cache key.
spacedmonkey Jan 18, 2023
15b5159
Editor: Add inert attribute polyfill.
youknowriad Jan 18, 2023
4108894
Posts, Post Types: Use persistent caching in `get_adjacent_post` func…
spacedmonkey Jan 18, 2023
6a9e92d
Themes: Introduce wp_theme_has_theme_json() for public consumption.
hellofromtonya Jan 18, 2023
308dd0a
Tests: Add unique messages to assertions for attachment filenames in …
SergeyBiryukov Jan 18, 2023
27cf881
Twenty Twenty-One: Fix obsolete navigation block styles for better Gl…
audrasjb Jan 18, 2023
8d56405
Twenty Twenty-One: Revert [55088].
audrasjb Jan 18, 2023
d54b686
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 18, 2023
e57e0e8
Media: Prevent hidden overflow on uploaded image names.
joedolson Jan 18, 2023
84bb54d
Themes: Revert caching from r55086.
hellofromtonya Jan 18, 2023
65caf62
Media: Allow for customization of lazy-loading featured images.
felixarntz Jan 19, 2023
2b831ff
Login and Registration: Disable spellcheck for password fields.
audrasjb Jan 19, 2023
adc6211
Twenty Twenty-One: Disable spellcheck for post password field.
audrasjb Jan 19, 2023
134c05d
Application Passwords: Disable spellcheck for password field.
audrasjb Jan 19, 2023
48342a2
Editor: Allow block pattern categories to have descriptions.
youknowriad Jan 19, 2023
9599b39
Editor: Updated the bundled block pattern categories.
youknowriad Jan 19, 2023
157a233
I18N: Allow installing new translations when changing the user locale…
swissspidy Jan 19, 2023
e229ac4
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 19, 2023
a9bd771
Twenty Twenty-One: Fix obsolete navigation block styles for better Gl…
audrasjb Jan 19, 2023
e4e15d1
Tests: Correct `additional_field_get_callback()` parameters in some R…
SergeyBiryukov Jan 19, 2023
b0f853f
Permalinks: Remove floating on Permalinks settings screen.
audrasjb Jan 19, 2023
d6afa28
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 20, 2023
675fe39
Code Modernization: Use correct property in `IXR_Message::tag_open()`.
SergeyBiryukov Jan 20, 2023
c12992d
Media: Add an action hook on `wp_ajax_save_attachment()`.
audrasjb Jan 20, 2023
2ff0e8a
Plugins: Add visible focus on plugin modal close button.
joedolson Jan 20, 2023
9705e4e
Quick/Bulk Edit: Add an action hook on `bulk_edit_posts()`.
audrasjb Jan 20, 2023
d8368e7
Menus: Hide the "Remove selected item" from Menus screen when no item…
audrasjb Jan 20, 2023
02a0858
Upgrade/Install: Disable spellcheck for password field on Setup screen.
audrasjb Jan 21, 2023
9822010
Docs: Further clarify the `wp_ajax_save_attachment` filter parameters…
SergeyBiryukov Jan 21, 2023
ea08277
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 22, 2023
9bbef09
Posts, Post Types: Increase the input field's width in the Slug metabox.
audrasjb Jan 22, 2023
c6f3ee4
Bundled Themes: Fix Separator block "Dots" style variation on various…
audrasjb Jan 22, 2023
e8dd182
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 23, 2023
1e608be
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 23, 2023
005cfdb
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 23, 2023
1433b63
Tests: Use `wp_recursive_ksort()` in `WP_Theme_JSON_Resolver` tests.
SergeyBiryukov Jan 23, 2023
698c003
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 23, 2023
0ab4ae8
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 23, 2023
0ed98f9
Themes: Support additional link related pseudo classes in `theme.json`.
audrasjb Jan 24, 2023
7db8ca5
Twenty Twenty-Two: Remove color reference from pattern names.
audrasjb Jan 24, 2023
ac2ddd8
Docs: Various improvements in `ms-blogs.php` function descriptions, a…
audrasjb Jan 24, 2023
f7de6aa
Twenty Twenty-One: Refine `primary-navigation.js` behavior for anchor…
audrasjb Jan 24, 2023
2bcd639
Editor: Migrate old to the new pattern categories.
hellofromtonya Jan 24, 2023
6bb9cf4
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 24, 2023
0ab59b1
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 24, 2023
29c6bca
Docs: Add missing `@since` tag for `WP_Theme_JSON_Resolver::remove_js…
SergeyBiryukov Jan 24, 2023
662b151
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 24, 2023
b1363cc
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 24, 2023
1f28106
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 24, 2023
119ec32
Editor: Adds pagination and ordering support to `WP_REST_Pattern_Dire…
hellofromtonya Jan 24, 2023
e4ccebf
Editor: Adds 'settings.typography.fluid.minFontSize' support to wp_ge…
hellofromtonya Jan 24, 2023
4643bb4
Code Modernization: Fix a JS error in `wpdialog`.
audrasjb Jan 24, 2023
cb5d5be
Menus: Add missing escaping function in Admin Menu walker.
audrasjb Jan 24, 2023
01623b1
Coding Standards: Allow some parameters with reserved keywords in `wp…
SergeyBiryukov Jan 25, 2023
26ca958
Build/Test Tools: Update `caniuse-lite` to the latest version.
desrosj Jan 25, 2023
f8bdacb
Themes: Add static cache variable to wp_theme_has_theme_json().
hellofromtonya Jan 25, 2023
0c8c4f8
Build/Test Tools: Revert [55137].
desrosj Jan 25, 2023
616f0bc
Editor: Use in/decrementors in wp_tinycolor_hue_to_rgb().
hellofromtonya Jan 25, 2023
ca90afc
Editor: Remove WP_DEBUG defined check in wp_tinycolor_hue_to_rgb().
hellofromtonya Jan 25, 2023
9356d97
Editor: Fix undefined variable following [54805].
felixarntz Jan 25, 2023
bce22eb
Bootstrap/Load: Avoid initializing `WP_Recovery_Mode` when fatal erro…
felixarntz Jan 26, 2023
8ca206a
Docs: Update $types param for wp_get_global_stylesheet().
hellofromtonya Jan 26, 2023
d1f3f85
Coding Standards: Bring some consistency to the order of attributes i…
SergeyBiryukov Jan 26, 2023
1df9b8a
Themes: Avoid unnecessary database queries from `get_default_block_ed…
felixarntz Jan 26, 2023
e2b5177
Editor: Add is block theme setting to get_block_editor_settings().
hellofromtonya Jan 26, 2023
dd33e32
Editor: Use a non-persistent object cache instead of transient in `wp…
felixarntz Jan 26, 2023
c86eb19
Themes: Add "Style Variations" to the list of WordPress theme features.
SergeyBiryukov Jan 27, 2023
94ea12b
Build/Test Tools: Update PostCSS to version 8.
desrosj Jan 27, 2023
ab7f915
Database: Add `%i` placeholder support to `$wpdb->prepare` to escape …
dream-encode Jan 27, 2023
b6f9fff
Build/Test Tools: Update third-party GitHub Actions.
desrosj Jan 27, 2023
ece2e85
Tests: Resolve some line endings issues in `blocks/renderCommentTempl…
dream-encode Jan 27, 2023
30175c9
Revisions: only create autosave when content changed.
adamsilverstein Jan 27, 2023
1b1fa72
Editor: Use a non-persistent object cache in `wp_get_global_settings()`.
felixarntz Jan 27, 2023
999f022
Media: Add download link to media modal and attachment details.
joedolson Jan 27, 2023
d64680e
Database: Replace `str_ends_with()` usage in `wpdb::prepare()`.
SergeyBiryukov Jan 28, 2023
fcea1a9
Database: Replace `substr_compare()` usage with `substr()` in `wpdb::…
SergeyBiryukov Jan 28, 2023
533b9b1
Media: Deprecate unused method `WP_Media_List_Table::column_desc()`.
audrasjb Jan 28, 2023
3b4132d
Build/Test Tools: Back up and restore the `$wp_filters` global when r…
SergeyBiryukov Jan 29, 2023
bce2a0a
I18N: Introduce `switch_to_user_locale()`.
swissspidy Jan 30, 2023
51e9aed
Code Modernization: Rename parameters that use reserved keywords in `…
SergeyBiryukov Jan 30, 2023
b74cfa8
Code Modernization: Allow some parameters with reserved keywords in `…
SergeyBiryukov Jan 30, 2023
186abb2
Users: Add context to the `send_auth_cookies` filter.
audrasjb Jan 31, 2023
4c926bf
Docs: Remove a duplicate line in the `send_auth_cookies` filter DocBl…
SergeyBiryukov Jan 31, 2023
3ed5f38
Docs: Fix typo in the `send_auth_cookies` filter DocBlock.
SergeyBiryukov Jan 31, 2023
aaf0a33
Update: Improve performance of gutenberg_render_layout_support_flag.
jorgefilipecosta Jan 31, 2023
620760e
Add: Template types to the patterns API.
jorgefilipecosta Jan 31, 2023
4ca85e7
Query: Use `WP_Query` in `get_page_by_path`.
spacedmonkey Jan 31, 2023
a4d42f0
Cron API: Improve the docs for some cron event and cron schedule rela…
johnbillion Jan 31, 2023
6036ee0
Media: Allow to omit `decoding="async"` on tags from `wp_get_attachme…
felixarntz Jan 31, 2023
52e5e06
Editor: Add support for editing block style variations in global styles.
hellofromtonya Feb 1, 2023
d2f6c41
Docs: Improve documentation for block pattern properties.
SergeyBiryukov Feb 1, 2023
8604838
Docs: Document the `inserter` property in `WP_Block_Patterns_Registry…
SergeyBiryukov Feb 1, 2023
f3b858c
Editor: Introduce minimum height dimensions block support.
hellofromtonya Feb 1, 2023
7374cde
Themes: Add shadow presets support for theme.json.
hellofromtonya Feb 1, 2023
36da826
REST API: Declare 'edit_css' capability in links within `WP_REST_Glob…
hellofromtonya Feb 1, 2023
58bc356
Media: Fix upload not visible if added after deleting media.
joedolson Feb 1, 2023
bd0ab0c
Editor: Separate content styles for iframe in __wp_get_iframed_editor…
hellofromtonya Feb 1, 2023
4c81af4
Media: Remove meta data after restoring w/IMAGE_EDIT_OVERWRITE.
joedolson Feb 1, 2023
8edf0e8
Editor: Add 'wp-polyfill' to _wp_get_iframed_editor_assets() for iner…
hellofromtonya Feb 1, 2023
8e091f6
Embeds: Add oEmbed support for crowdsignal.net surveys.
audrasjb Feb 1, 2023
26c92e5
Media: Ensure media IDs are type `int` in bulk editing.
joedolson Feb 1, 2023
888e139
KSES: Allow position-related CSS properties.
hellofromtonya Feb 1, 2023
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
  •  
  •  
  •  
72 changes: 32 additions & 40 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
# Any change to a PHP or JavaScript file should run checks.
- '**.js'
- '**.php'
# These files configure NPM. Changes could affect the outcome.
# These files configure npm. Changes could affect the outcome.
- 'package*.json'
# These files configure Composer. Changes could affect the outcome.
- 'composer.*'
Expand All @@ -48,13 +48,13 @@ jobs:
# Performs the following steps:
# - Checks out the repository.
# - Sets up PHP.
# - Logs debug information.
# - Configures caching for PHPCS scans.
# - Installs Composer dependencies (use cache if possible).
# - Installs Composer dependencies.
# - Make Composer packages available globally.
# - Logs PHP_CodeSniffer debug information.
# - Runs PHPCS on the full codebase with warnings suppressed.
# - Generate a report for displaying issues as pull request annotations.
# - Runs PHPCS on the `tests` directory without warnings suppressed.
# - Generate a report for displaying `test` directory issues as pull request annotations.
# - Ensures version-controlled files are not modified or deleted.
phpcs:
name: PHP coding standards
Expand All @@ -64,55 +64,53 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- name: Set up PHP
uses: shivammathur/setup-php@e04e1d97f0c0481c6e1ba40f8a538454fe5d7709 # v2.21.2
uses: shivammathur/setup-php@8e2ac35f639d3e794c1da1f28999385ab6fdf0fc # v2.23.0
with:
php-version: '7.4'
coverage: none
tools: composer, cs2pr

- name: Log debug information
run: |
php --version
composer --version
tools: cs2pr

# This date is used to ensure that the PHPCS cache is cleared at least once every week.
# http://man7.org/linux/man-pages/man1/date.1.html
- name: "Get last Monday's date"
id: get-date
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"
run: echo "date=$(/bin/date -u --date='last Mon' "+%F")" >> $GITHUB_OUTPUT

- name: Cache PHPCS scan cache
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7 # v3.0.11
uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3
with:
path: .cache/phpcs.json
path: |
.cache/phpcs-src.json
.cache/phpcs-tests.json
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }}

# Since Composer dependencies are installed using `composer update` and no lock file is in version control,
# passing a custom cache suffix ensures that the cache is flushed at least once per week.
- name: Install Composer dependencies
uses: ramsey/composer-install@f680dac46551dffb2234a240d65ae806c2999dd6 # v2.1.0
uses: ramsey/composer-install@83af392bf5f031813d25e6fe4cd626cdba9a2df6 # v2.2.0
with:
composer-options: "--no-progress --no-ansi"
custom-cache-suffix: ${{ steps.get-date.outputs.date }}

- name: Make Composer packages available globally
run: echo "${PWD}/vendor/bin" >> $GITHUB_PATH

- name: Log PHPCS debug information
run: phpcs -i

- name: Run PHPCS on all Core files
continue-on-error: true
run: phpcs -n --report-full --report-checkstyle=./.cache/phpcs-report.xml
id: phpcs-core
run: phpcs -n --report-full --cache=./.cache/phpcs-src.json --report-checkstyle=./.cache/phpcs-report.xml

- name: Show PHPCS results in PR
if: ${{ always() && steps.phpcs-core.outcome == 'failure' }}
run: cs2pr ./.cache/phpcs-report.xml

- name: Check test suite files for warnings
continue-on-error: true
run: phpcs tests --report-full --report-checkstyle=./.cache/phpcs-tests-report.xml
id: phpcs-tests
run: phpcs tests --report-full --cache=./.cache/phpcs-tests.json --report-checkstyle=./.cache/phpcs-tests-report.xml

- name: Show test suite scan results in PR
if: ${{ always() && steps.phpcs-tests.outcome == 'failure' }}
run: cs2pr ./.cache/phpcs-tests-report.xml

- name: Ensure version-controlled files are not modified during the tests
Expand All @@ -124,10 +122,9 @@ jobs:
#
# Performs the following steps:
# - Checks out the repository.
# - Sets up Node.js.
# - Logs debug information about the GitHub Action runner.
# - Installs NodeJS.
# - Logs updated debug information.
# _ Installs NPM dependencies.
# - Installs npm dependencies.
# - Run the WordPress JSHint checks.
# - Ensures version-controlled files are not modified or deleted.
jshint:
Expand All @@ -140,17 +137,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- name: Log debug information
run: |
npm --version
node --version
git --version
svn --version

- name: Install NodeJS
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -159,8 +149,10 @@ jobs:
run: |
npm --version
node --version
git --version
svn --version

- name: Install Dependencies
- name: Install npm Dependencies
run: npm ci

- name: Run JSHint
Expand Down Expand Up @@ -198,7 +190,7 @@ jobs:

steps:
- name: Dispatch workflow run
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
with:
retries: 2
retry-exempt-status-codes: 418
Expand All @@ -207,7 +199,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'failed-workflow.yml',
ref: '${{ github.ref_name }}',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
}
Expand Down
35 changes: 12 additions & 23 deletions .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ jobs:
# Performs the following steps:
# - Sets environment variables.
# - Checks out the repository.
# - Sets up Node.js.
# - Logs debug information about the GitHub Action runner.
# - Installs NodeJS.
# _ Installs NPM dependencies.
# - Installs npm dependencies.
# - Builds WordPress to run from the `build` directory.
# - Starts the WordPress Docker container.
# - Logs general debug information.
# - Logs the running Docker containers.
# - Logs Docker debug information (about both the Docker installation within the runner and the WordPress container).
# - Install WordPress within the Docker container.
Expand All @@ -59,7 +58,13 @@ jobs:
echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV

- name: Checkout repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: '.nvmrc'
cache: npm

- name: Log debug information
run: |
Expand All @@ -68,17 +73,9 @@ jobs:
curl --version
git --version
svn --version
php --version
php -i
locale -a

- name: Install NodeJS
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
with:
node-version-file: '.nvmrc'
cache: npm

- name: Install Dependencies
- name: Install npm Dependencies
run: npm ci

- name: Build WordPress
Expand All @@ -88,14 +85,6 @@ jobs:
run: |
npm run env:start

- name: General debug information
run: |
npm --version
node --version
curl --version
git --version
svn --version

- name: Log running Docker containers
run: docker ps -a

Expand Down Expand Up @@ -146,7 +135,7 @@ jobs:

steps:
- name: Dispatch workflow run
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
with:
retries: 2
retry-exempt-status-codes: 418
Expand All @@ -155,7 +144,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'failed-workflow.yml',
ref: '${{ github.ref_name }}',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/failed-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Rerun a workflow
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
with:
retries: 2
retry-exempt-status-codes: 418
Expand Down
28 changes: 11 additions & 17 deletions .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
paths:
# Any change to a JavaScript file should run tests.
- '**.js'
# These files configure NPM. Changes could affect the outcome.
# These files configure npm. Changes could affect the outcome.
- 'package*.json'
# This file configures ESLint. Changes could affect the outcome.
- '.eslintignore'
Expand All @@ -43,10 +43,9 @@ jobs:
#
# Performs the following steps:
# - Checks out the repository.
# - Sets up Node.js.
# - Logs debug information about the GitHub Action runner.
# - Installs NodeJS.
# - Logs updated debug information.
# _ Installs NPM dependencies.
# - Installs npm dependencies.
# - Run the WordPress QUnit tests.
# - Ensures version-controlled files are not modified or deleted.
test-js:
Expand All @@ -57,17 +56,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

- name: Log debug information
run: |
npm --version
node --version
git --version
svn --version

- name: Install NodeJS
uses: actions/setup-node@8c91899e586c5b171469028077307d293428b516 # v3.5.1
- name: Set up Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version-file: '.nvmrc'
cache: npm
Expand All @@ -76,8 +68,10 @@ jobs:
run: |
npm --version
node --version
git --version
svn --version

- name: Install Dependencies
- name: Install npm Dependencies
run: npm ci

- name: Run QUnit tests
Expand Down Expand Up @@ -114,7 +108,7 @@ jobs:

steps:
- name: Dispatch workflow run
uses: actions/github-script@100527700e8b29ca817ac0e0dfbfc5e8ff38edda # v6.3.2
uses: actions/github-script@98814c53be79b1d30f795b907e553d8679345975 # v6.4.0
with:
retries: 2
retry-exempt-status-codes: 418
Expand All @@ -123,7 +117,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'failed-workflow.yml',
ref: '${{ github.ref_name }}',
ref: 'trunk',
inputs: {
run_id: '${{ github.run_id }}'
}
Expand Down
Loading