{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":2889328,"defaultBranch":"master","name":"WordPress","ownerLogin":"WordPress","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-12-01T07:05:17.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/276006?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1712779325.0","currentOid":""},"activityList":{"items":[{"before":"d2fb0bd81ec242eee4c98e698303cf8c36693832","after":"fe416fd2f657c094016d4d2162ca7c1a465bf6ad","ref":"refs/heads/master","pushedAt":"2024-05-01T18:58:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Tests: Use `assertSame()` in `wp_validate_redirect()` tests.\n\nThis ensures that not only the return values match the expected results, but also that their type is the same.\n\nGoing forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.\n\nFollow-up to [36444].\n\nProps costdev.\nSee #60706.\nBuilt from https://develop.svn.wordpress.org/trunk@58070\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57535 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Tests: Use assertSame() in wp_validate_redirect() tests."}},{"before":"5d6024cefb845ce5f5601ab4fbf15a6d5592ae5e","after":"d2fb0bd81ec242eee4c98e698303cf8c36693832","ref":"refs/heads/master","pushedAt":"2024-05-01T18:02:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"General: Remove any usage of `wp_reset_vars()`.\n\nThe way `wp_reset_vars()` sets global variables based on `$_POST` and `$_GET` values makes code hard to understand and maintain. It also makes it easy to forget to sanitize input.\n\nThis change removes the few places where `wp_reset_vars()` is used in the admin to explicitly use `$_REQUEST` and sanitize any input.\n\nProps swissspidy, audrasjb, davideferre, killua99, weijland, voldemortensen.\nFixes #38073.\nBuilt from https://develop.svn.wordpress.org/trunk@58069\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57534 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"General: Remove any usage of wp_reset_vars()."}},{"before":"8aa7eb7e160ddf67638c6b1e890945633c0253fd","after":"5d6024cefb845ce5f5601ab4fbf15a6d5592ae5e","ref":"refs/heads/master","pushedAt":"2024-05-01T15:44:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Script Loader: Ensure `wp_localize_script()` works when called early.\n\nBefore, `wp_localize_script()` did not work when the `$wp_scripts` global was not already set (for example because of a script registration happening elsewhere) and even emitted a warning in that case. Due to side effects such as block registration early in the load process, this usually never happened. However, the absence of these side effects in 6.5 caused the `wp_localize_script()` to no longer work in places such as the `login_enqueue_scripts`.\n\nBy calling `wp_scripts()` in `wp_localize_script()`, the `$wp_scripts` global is automatically set if needed, restoring previous behavior. Adds both a PHP unit test and an e2e test to verify this use case. Hat tip: jorbin.\n\nHappy birthday, Aaron!\n\nProps salcode, aslamdoctor, jorbin, swissspidy.\nFixes #60862.\nBuilt from https://develop.svn.wordpress.org/trunk@58068\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57533 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Script Loader: Ensure wp_localize_script() works when called early."}},{"before":"c3961d849cf3cc90dd6c91ba79c8a2178e89b0d0","after":"8aa7eb7e160ddf67638c6b1e890945633c0253fd","ref":"refs/heads/master","pushedAt":"2024-04-30T16:46:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Coding Standards: Remove extra conditional in `get_plugins()`.\n\nFollow-up to [1894], [5152], [55990].\n\nProps abhijitrakas, mukesh27.\nFixes #44853.\nBuilt from https://develop.svn.wordpress.org/trunk@58067\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57532 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Coding Standards: Remove extra conditional in get_plugins()."}},{"before":"5186adde1bb6aec9af1172706e7981fb8dae819e","after":"def147d01ec4e80ceec440771b62d3f52315765e","ref":"refs/heads/6.5-branch","pushedAt":"2024-04-30T09:48:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"I18N: Bail early if an invalid text domain is passed to `load_textdomain()` et al.\n\nSome plugins pass invalid values such as `null` instead of a string, which has never been supported by WordPress (no translations are loaded) and was technically undefined behavior. With the introduction of the new l10n library in #59656, which has stricter type hints, this could end up causing warnings or even fatal errors.\n\nThis change adds a deliberate short-circuit to `load_textdomain()` & co. to better handle such a case and document that it is not supported.\n\nMerges [57925] to the 6.5 branch.\nReviewed by jorbin.\n\nProps verygoode, swissspidy.\nFixes #60888.\nBuilt from https://develop.svn.wordpress.org/branches/6.5@58066\n\n\ngit-svn-id: http://core.svn.wordpress.org/branches/6.5@57531 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"I18N: Bail early if an invalid text domain is passed to `load_textdom…"}},{"before":"b2da8bbcc9f5bc7552869859d01a0e683cd09510","after":"c3961d849cf3cc90dd6c91ba79c8a2178e89b0d0","ref":"refs/heads/master","pushedAt":"2024-04-30T09:34:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"REST API: allow overriding excerpt length.\n\nThis can be used by the excerpt block in the editor to change the excerpt length without filtering `excerpt_length` in a conflicting way. This enhancement still needs a corresponding change on the Gutenberg side.\n\nProps swissspidy, antonvlasenko, mukesh27, azaozz, andraganescu, timothyblynjacobs.\nFixes #59043.\nBuilt from https://develop.svn.wordpress.org/trunk@58065\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57530 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"REST API: allow overriding excerpt length."}},{"before":"417862e5048f54a574b489deab9b50c21a40eeda","after":"b2da8bbcc9f5bc7552869859d01a0e683cd09510","ref":"refs/heads/master","pushedAt":"2024-04-30T08:56:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"I18N: Fix plural usage in `wp_print_admin_notice_templates()`.\n\nMoves the translatable strings from the JS template defined in PHP to the `updates.js` script, where `_n()` can be used as recommended.\n\nProps ideag, SergeyBiryukov, daledupreez, audrasjb, ocean90, swissspidy.\nFixes #37287.\nBuilt from https://develop.svn.wordpress.org/trunk@58064\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57529 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"I18N: Fix plural usage in wp_print_admin_notice_templates()."}},{"before":"7c11d1ebf5f7d3ded333ce931c9c07e048ec5e2d","after":"417862e5048f54a574b489deab9b50c21a40eeda","ref":"refs/heads/master","pushedAt":"2024-04-30T08:46:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Embeds: Remove empty CSS blocks from `wp-embed-template.css`.\n\nOriginally added in [34903], these empty CSS blocks serve no purpose.\n\nProps ravipatel, sabernhardt.\nFixes #61085.\nBuilt from https://develop.svn.wordpress.org/trunk@58063\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57528 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Embeds: Remove empty CSS blocks from wp-embed-template.css."}},{"before":"d0b3d1d7abdb56f63cd5ff86b26b83678a9f9447","after":"7c11d1ebf5f7d3ded333ce931c9c07e048ec5e2d","ref":"refs/heads/master","pushedAt":"2024-04-30T08:42:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"I18N: Actually add all the files for [58061], not just the test fixtures.\n\nImprove support for using only PHP translation files.\n\nThis builds on top of the PHP translation file support added in WordPress 6.5, improving the behavior for projects using solely `.l10n.php` translation files and no `.mo.` and `.po` files.\n\nUpdates `wp_get_installed_translations()`, which is used when updating language packs and when uninstalling plugins/themes (to remove the translations again), to look for PHP translation files and read metadata from them. Additionally, the file lookup is now cached thanks to using `WP_Textdomain_Registry`.\n\nUpdates `Language_Pack_Upgrader::check_package()` to allow language packs that only contain PHP translation files. While WordPress.org continues to serve `.mo` and `.po` files, third-party services might want to only use the PHP file format.\n\nSee #60554.\nBuilt from https://develop.svn.wordpress.org/trunk@58062\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57527 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"I18N: Actually add all the files for [58061], not just the test fixtu…"}},{"before":"3294fc01ba5ec3846c0754f97c27819fe692c5be","after":"d0b3d1d7abdb56f63cd5ff86b26b83678a9f9447","ref":"refs/heads/master","pushedAt":"2024-04-30T08:38:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"I18N: Improve support for using only PHP translation files.\n\nThis builds on top of the PHP translation file support added in WordPress 6.5, improving the behavior for projects using solely `.l10n.php` translation files and no `.mo.` and `.po` files.\n\nUpdates `wp_get_installed_translations()`, which is used when updating language packs and when uninstalling plugins/themes (to remove the translations again), to look for PHP translation files and read metadata from them. Additionally, the file lookup is now cached thanks to using `WP_Textdomain_Registry`.\n\nUpdates `Language_Pack_Upgrader::check_package()` to allow language packs that only contain PHP translation files. While WordPress.org continues to serve `.mo` and `.po` files, third-party services might want to only use the PHP file format.\n\nProps swissspidy.\nFixes #60554.\nBuilt from https://develop.svn.wordpress.org/trunk@58061\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57526 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"I18N: Improve support for using only PHP translation files."}},{"before":"a3d497718e3f7214395b09c624cd502baabf3163","after":"3294fc01ba5ec3846c0754f97c27819fe692c5be","ref":"refs/heads/master","pushedAt":"2024-04-30T07:00:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Help/About: Reduce About screens heading sizes on smaller viewports.\n\n[56950] reduced the heading size of About screen headings, but that did not edit the size for smaller viewports.\nThis changeset fixes this issue, and also updates the larger fluid font size (960px - 1200px).\n\nFollow-up to [56950].\n\nProps dhruvang21, sabernhardt, khokansardar.\nFixes #61030.\n\n\n\nBuilt from https://develop.svn.wordpress.org/trunk@58060\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57525 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Help/About: Reduce About screens heading sizes on smaller viewports."}},{"before":"1abb7e0563b9cc4b68895c937c2b1bdedbfa4177","after":"a3d497718e3f7214395b09c624cd502baabf3163","ref":"refs/heads/master","pushedAt":"2024-04-30T04:02:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Editor: add ticket number to test after string update.\n\nFollow-up to [58028]; adds ticket number to the updated test.\n\nProps jorbin, isabel_brison.\nSee #60981.\n\nBuilt from https://develop.svn.wordpress.org/trunk@58059\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57524 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Editor: add ticket number to test after string update."}},{"before":"07fe72c6b3c1f18cbcc3986c00a5d8ed1af354ca","after":"5186adde1bb6aec9af1172706e7981fb8dae819e","ref":"refs/heads/6.5-branch","pushedAt":"2024-04-30T03:26:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Editor: fix spacing in function doc.\n\nCorrectly formats spacing in `get_layout_styles` docblock.\n\nProps mukesh27, sabernhardt.\nReviewed by jorbin.\nMerges [58030] to the 6.5 branch.\nSee #60981.\n\nBuilt from https://develop.svn.wordpress.org/branches/6.5@58058\n\n\ngit-svn-id: http://core.svn.wordpress.org/branches/6.5@57523 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Editor: fix spacing in function doc."}},{"before":"c164facc1d150987d534f448f4ca5e8caba369f6","after":"07fe72c6b3c1f18cbcc3986c00a5d8ed1af354ca","ref":"refs/heads/6.5-branch","pushedAt":"2024-04-30T03:24:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Editor: limit layout rules on themes without theme.json.\n\nRemoves output of base rules for flow and constrained layout types on themes without theme.json.\n\nProps evanltd, poena, isabel_brison, andrewserong, oandregal.\nReviewed by jorbin.\nMerges [58028] to the 6.5 branch.\nSee #60981.\n\nBuilt from https://develop.svn.wordpress.org/branches/6.5@58057\n\n\ngit-svn-id: http://core.svn.wordpress.org/branches/6.5@57522 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Editor: limit layout rules on themes without theme.json."}},{"before":"899608b6bede4c428c4576a9f4dcc9ce69a8385a","after":"c164facc1d150987d534f448f4ca5e8caba369f6","ref":"refs/heads/6.5-branch","pushedAt":"2024-04-30T01:50:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Editor: skip outputting base layout rules if content and wide size values don’t exist.\n\nSkip outputting layout rules that reference content and wide sizes CSS variables, if no layout sizes exist in the current `theme.json`.\n\nProps andrewserong.\nReviewed by jorbin.\nMerges [57948] to the 6.5 branch.\nFixes #60936.\n\nBuilt from https://develop.svn.wordpress.org/branches/6.5@58056\n\n\ngit-svn-id: http://core.svn.wordpress.org/branches/6.5@57521 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Editor: skip outputting base layout rules if content and wide size va…"}},{"before":"9a2a3dc5b3ed97ae7a894b65576227b033ec0e86","after":"1abb7e0563b9cc4b68895c937c2b1bdedbfa4177","ref":"refs/heads/master","pushedAt":"2024-04-29T22:36:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Editor: Add `item_updated` label for `wp_template` and `wp_template_part` post types.\n\nThis adds the `item_updated` label to Template and Template Part post types registration. This prevents from displaying the default `post updated` label.\nSee https://github.com/WordPress/gutenberg/pull/61146 \n\nFollow-up to [52062], [51003].\n\nProps ntsekouras, ellatrix.\nFixes #61095.\n\n\n\nBuilt from https://develop.svn.wordpress.org/trunk@58055\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57520 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Editor: Add item_updated label for wp_template and `wp_template_p…"}},{"before":"5638ddb0ae2d013c485f9865ee7ea99ae4c24ec2","after":"9a2a3dc5b3ed97ae7a894b65576227b033ec0e86","ref":"refs/heads/master","pushedAt":"2024-04-29T15:42:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Tests: Use `assertSame()` in `WP_Comment::get_instance()` tests.\n\nThis ensures that not only the return values match the expected results, but also that their type is the same.\n\nGoing forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.\n\nFollow-up to [38381].\n\nProps costdev.\nSee #60706.\nBuilt from https://develop.svn.wordpress.org/trunk@58054\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57519 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Tests: Use assertSame() in WP_Comment::get_instance() tests."}},{"before":"a93698699b3ea69fbe4e434849a4ad416a1ff8d5","after":"5638ddb0ae2d013c485f9865ee7ea99ae4c24ec2","ref":"refs/heads/master","pushedAt":"2024-04-29T12:18:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Twenty Fourteen: Adds base font size to pullquote block.\n\nThe pullquote block needed the base font size adding back in. This also adds in support for appearance settings for weight and style in addition to the original ticket. This fixes a previous commit which changed the default font size of pullquote blocks, quote blocks and blockquotes.\n\nProps sabernhardt.\nFixes #61034.\n\nBuilt from https://develop.svn.wordpress.org/trunk@58053\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57518 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Twenty Fourteen: Adds base font size to pullquote block."}},{"before":"93116dbd5ca13bed8aeee27d8e529e9d373ccc11","after":"a93698699b3ea69fbe4e434849a4ad416a1ff8d5","ref":"refs/heads/master","pushedAt":"2024-04-28T18:58:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Tests: Use `assertSame()` in `wp_handle_comment_submission()` tests.\n\nThis ensures that not only the return values match the expected results, but also that their type is the same.\n\nGoing forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.\n\nFollow-up to [38778], [46829].\n\nProps costdev.\nSee #60706.\nBuilt from https://develop.svn.wordpress.org/trunk@58052\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57517 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Tests: Use assertSame() in wp_handle_comment_submission() tests."}},{"before":"93978139f05335c6a1796231b370f55751f64d63","after":"93116dbd5ca13bed8aeee27d8e529e9d373ccc11","ref":"refs/heads/master","pushedAt":"2024-04-26T15:52:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Tests: Add more specific messages for a custom assertion in `WP_Test_REST_TestCase`.\n\nAll assertions in PHPUnit have a `$message` parameter. Setting this parameter allows to distinguish which assertion is failing when a test runs multiple assertions, making debugging of the tests easier.\n\nFollow-up to [34928], [51478], [58039].\n\nSee #60426.\nBuilt from https://develop.svn.wordpress.org/trunk@58051\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57516 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Tests: Add more specific messages for a custom assertion in `WP_Test_…"}},{"before":"a4e4498d9f7f5e04a718aa1e6f50292c5f1658e1","after":"899608b6bede4c428c4576a9f4dcc9ce69a8385a","ref":"refs/heads/6.5-branch","pushedAt":"2024-04-26T15:28:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Media: fix potential error in class-avif-info.php::get_item_features().\n\nImport upstream fix from libavifinfo, correcting a potential fatal error.\n\nReviewed by jorbin.\nMerges [58049] to the 6.5 branch.\n\nProps yguyon.\nFixes #60980.\n\n\nBuilt from https://develop.svn.wordpress.org/branches/6.5@58050\n\n\ngit-svn-id: http://core.svn.wordpress.org/branches/6.5@57515 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Media: fix potential error in class-avif-info.php::get_item_features()."}},{"before":"4aa1d98bd1dd0aca308e542c975b7adb82365b35","after":"93978139f05335c6a1796231b370f55751f64d63","ref":"refs/heads/master","pushedAt":"2024-04-26T15:04:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Media: fix potential error in class-avif-info.php::get_item_features().\n\nImport upstream fix from libavifinfo, correcting a potential fatal error.\n\nProps yguyon.\nFixes #60980.\n\n\nBuilt from https://develop.svn.wordpress.org/trunk@58049\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57514 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Media: fix potential error in class-avif-info.php::get_item_features()."}},{"before":"9c840416ccadb30f7614a100cc3c1169763bd97a","after":"4aa1d98bd1dd0aca308e542c975b7adb82365b35","ref":"refs/heads/master","pushedAt":"2024-04-26T13:54:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"HTML API: Tests should use expectedIncorrectUsage phpunit annotation\n\nSome tests in the HTML API test suite use `setExpectedIncorrectUsage`.\nThe annotation `@expectedIncorrectUsage` can be used to simplify the tests.\n\nDeveloped in https://github.com/WordPress/wordpress-develop/pull/6449\nDiscussed in https://core.trac.wordpress.org/ticket/61080\n\nFixes #61080.\nProps dmsnell, jonsurrell.\n\nBuilt from https://develop.svn.wordpress.org/trunk@58048\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57513 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"HTML API: Tests should use expectedIncorrectUsage phpunit annotation"}},{"before":"2f44f23d92d55ba72a5ce723efa12601beaf8556","after":"9c840416ccadb30f7614a100cc3c1169763bd97a","ref":"refs/heads/master","pushedAt":"2024-04-26T10:32:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Tests: Skip Gutenberg plugin activation test on older WP versions.\n\nThe purpose of `tests/e2e/specs/gutenberg-plugin.test.js` is to ensure that running the Gutenberg plugin (stable version) on a WordPress `trunk` install doesn't produce any fatals.\n\nThe test was introduced in [54913], i.e. it has been around since WP 6.2. It makes sense to have it present on older branches, as the Gutenberg plugin not only supports `trunk`, but also the current stable version of WordPress (i.e. currently 6.5), and one version below (6.4). However, it is not expected to work on any earlier versions beyond that; in practice, it has produced errors on some of those.\n\nThis changeset checks the REST API response from the plugin activation request. If it returns an error with error code `plugin_wp_incompatible`, it skips the test.\n\nProps jorbin, johnbillion, swissspidy.\nFixes #60971.\nBuilt from https://develop.svn.wordpress.org/trunk@58046\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57512 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Tests: Skip Gutenberg plugin activation test on older WP versions."}},{"before":"dfc568cd20a3c050ee50670eab66ec6fca52f634","after":"2f44f23d92d55ba72a5ce723efa12601beaf8556","ref":"refs/heads/master","pushedAt":"2024-04-25T10:50:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Docs: Remove extra commas in `WP_User_Query::prepare_query()` DocBlock.\n\nFollow-up to [52226], [58032].\n\nProps nareshbheda, mukesh27.\nFixes #61076.\nBuilt from https://develop.svn.wordpress.org/trunk@58045\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57511 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Docs: Remove extra commas in WP_User_Query::prepare_query() DocBlock."}},{"before":"a3f1555919d1ba66c1133230be610f42b705cda7","after":"dfc568cd20a3c050ee50670eab66ec6fca52f634","ref":"refs/heads/master","pushedAt":"2024-04-24T22:06:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Tests: Use `assertSame()` in `WP_oEmbed_Controller` tests.\n\nThis ensures that not only the return values match the expected results, but also that their type is the same.\n\nGoing forward, stricter type checking by using `assertSame()` should generally be preferred to `assertEquals()` where appropriate, to make the tests more reliable.\n\nFollow-up to [41047].\n\nProps costdev.\nSee #60706.\nBuilt from https://develop.svn.wordpress.org/trunk@58044\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57510 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Tests: Use assertSame() in WP_oEmbed_Controller tests."}},{"before":"5b6477888630c1930c39b63d6d0731f884e493f5","after":"a4e4498d9f7f5e04a718aa1e6f50292c5f1658e1","ref":"refs/heads/6.5-branch","pushedAt":"2024-04-24T12:22:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Block Hooks: Fix `@since` and deprecated versions.\n\nTwo `@since` PHPDoc fields, and the version argument to one `_deprecated_argument()` incorrectly stated 6.5.1 as the relevant WordPress version where a change was introduced.\n\nThis changeset fixes them by setting them to 6.5.3 instead.\n\nReviewed by swissspidy.\nMerges [58042] to the to the 6.5 branch.\n\nFollow-up to [58041].\nSee #60754.\nBuilt from https://develop.svn.wordpress.org/branches/6.5@58043\n\n\ngit-svn-id: http://core.svn.wordpress.org/branches/6.5@57509 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Block Hooks: Fix @since and deprecated versions."}},{"before":"f9776f536fee374078b43358098c7aaee3d88948","after":"a3f1555919d1ba66c1133230be610f42b705cda7","ref":"refs/heads/master","pushedAt":"2024-04-24T12:12:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Block Hooks: Fix `@since` and deprecated versions.\n\nTwo `@since` PHPDoc fields, and the version argument to one `_deprecated_argument()` incorrectly stated 6.5.1 as the relevant WordPress version where a change was introduced.\n\nThis changeset fixes them by setting them to 6.5.3 instead.\n\nFollow-up to [57919].\nSee #60754.\nBuilt from https://develop.svn.wordpress.org/trunk@58042\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57508 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Block Hooks: Fix @since and deprecated versions."}},{"before":"b37dea1ca7e527c923b6e78d1b000fc7288b226b","after":"5b6477888630c1930c39b63d6d0731f884e493f5","ref":"refs/heads/6.5-branch","pushedAt":"2024-04-24T12:04:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"Block Hooks: Pass correct context to filters.\n\nThe `$context` argument passed to filters such as `hooked_block_types`, `hooked_block`, and `hooked_block_{$hooked_block_type}` allows them to conditionally insert a hooked block. If the anchor block is contained in a template or template part, `$context` will be set to a `WP_Block_Template` object reflecting that template or part.\n\nThe aforementioned filters are applied when hooked block insertion is run upon reading a template (or part) from the DB (and before sending the template/part content with hooked blocks inserted over the REST API to the client), but also upon writing to the DB, as that's when the `ignoredHookedBlocks` metadata attribute is set.\n\nPrior to this changeset, the `$context` passed to Block Hooks related filters in the latter case reflected the template/part that was already stored in the database (if any), which is a bug; instead, it needs to reflect the template/part that will result from the incoming `POST` network request that will trigger a database update.\n\nThose incoming changes are encapsulated in the `$changes` argument passed to the `reset_pre_insert_template` and `reset_pre_insert_template_part` filters, respectively, and thus to the `inject_ignored_hooked_blocks_metadata_attributes` function that is hooked to them. `$changes` is of type `stdClass` and only contains the fields that need to be updated. That means that in order to create a `WP_Block_Template` object, a two-step process is needed:\n\n- Emulate what the updated `wp_template` or `wp_template_part` post object in the database will look like by merging `$changes` on top of the existing `$post` object fetched from the DB, or from the theme's block template (part) file, if any.\n- Create a `WP_Block_Template` from the resulting object.\n\nTo achieve the latter, a new helper method (`_build_block_template_object_from_post_object`) is extracted from the existing `_build_block_template_result_from_post` function. (The latter cannot be used directly as it includes a few database calls that will fail if no post object for the template has existed yet in the database.)\n\nWhile somewhat complicated to implement, the overall change allows for better separation of concerns and isolation of entities. This is visible e.g. in the fact that `inject_ignored_hooked_blocks_metadata_attributes` no longer requires a `$request` argument, which is reflected by unit tests no longer needing to create a `$request` object to pass to it, thus decoupling the function from the templates endpoint controller.\n\nUnit tests for `inject_ignored_hooked_blocks_metadata_attributes` have been moved to a new, separate file. Test coverage has been added such that now, all three relevant scenarios are covered:\n\n- The template doesn't exist in the DB, nor is there a block theme template file for it.\n- The template doesn't exist in the DB, but there is a block theme template file for it.\n- The template already exists in the DB.\n\nThose scenarios also correspond to the logical branching inside `WP_REST_Templates_Controller::prepare_item_for_database`, which is where `inject_ignored_hooked_blocks_metadata_attributes` gets its data from.\n\nReviewed by gziolo.\nMerges [57919] to the to the 6.5 branch.\n\nProps tomjcafferkey, bernhard-reiter, gziolo, swissspidy.\nFixes #60754.\nBuilt from https://develop.svn.wordpress.org/branches/6.5@58041\n\n\ngit-svn-id: http://core.svn.wordpress.org/branches/6.5@57507 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"Block Hooks: Pass correct context to filters."}},{"before":"9d5f8481dfeddf806b30c2575e83ff6880e4ec7e","after":"f9776f536fee374078b43358098c7aaee3d88948","ref":"refs/heads/master","pushedAt":"2024-04-24T07:46:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"markjaquith","name":"Mark Jaquith","path":"/markjaquith","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/353790?s=80&v=4"},"commit":{"message":"HTML API: Fix detection of single-length funky comments.\n\nSince [60428] the Tag Processor has been misidentifying single-character\nfunky comments. It has been asserting that the full token-length for a\nfunky comment must be at least three characters after the opening (e.g.\n``), but it has been starting to look for the closing `>` after\nthose same three characters. This means that it has been skipping the\nactual close of these funky comments and swallowing up the next syntax\nuntil it finds a `>`, often consuming the next tag in the process.\n\nThis patch fixes the detector and restores finding the following token.\n\nDeveloped in https://github.com/WordPress/wordpress-develop/pull/6412\nDiscussed in https://core.trac.wordpress.org/ticket/60170\n\nFollow-up to [60428].\nFixes #60170.\nProps dmsnell, gziolo, jonsurrell.\n\nBuilt from https://develop.svn.wordpress.org/trunk@58040\n\n\ngit-svn-id: http://core.svn.wordpress.org/trunk@57506 1a063a9b-81f0-0310-95a4-ce76da25c4cd","shortMessageHtmlLink":"HTML API: Fix detection of single-length funky comments."}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEPyPEMAA","startCursor":null,"endCursor":null}},"title":"Activity · WordPress/WordPress"}