Commit Graph

50495 Commits

Author SHA1 Message Date
Sergey Biryukov
19d5011bff Coding Standards: Use strict comparison in wp_check_for_changed_dates().
Follow-up to [42401].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59593


git-svn-id: http://core.svn.wordpress.org/trunk@58979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-08 17:48:21 +00:00
Pascal Birchler
c90837121a I18N: Mail: Make PHPMailer messages translatable.
Adds a new `WP_PHPMailer` class to leverage the WordPress i18n system with PHPMailer, so that any user-visible error messages can be properly translated.

Props sukhendu2002, swissspidy, audrasjb, iandunn, nacin, mark-k.
Fixes #23311.
Built from https://develop.svn.wordpress.org/trunk@59592


git-svn-id: http://core.svn.wordpress.org/trunk@58978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-08 12:54:18 +00:00
Pascal Birchler
1dc1f32ed8 I18N: Update theme.json i18n schema with latest changes from Gutenberg.
Makes shadow, duotone and aspect ratio names properly translatable.

Props dalleyne, audrasjb, oandregal, swissspidy.
Fixes #62728.
Built from https://develop.svn.wordpress.org/trunk@59591


git-svn-id: http://core.svn.wordpress.org/trunk@58977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-08 12:36:23 +00:00
Adam Silverstein
107716bf6c Media: improve error messages for unsupported uploads.
Improve language explaining the reason for failure when uploading a modern image format like WebP or AVIF that the server doesn’t handle.

Props adamsilverstein, Cybr.
Fixes #61361.


Built from https://develop.svn.wordpress.org/trunk@59590


git-svn-id: http://core.svn.wordpress.org/trunk@58976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-07 22:53:22 +00:00
Adam Silverstein
69b48e2e80 Media: improve Imagick handling of colors and alpha channel for PNG image uploads.
Fix an issue where index color (8 bit) PNG uploads were output as true color (24 bit) PNGs, significantly increasing their size.  When using Imagick, PNG output images will now match the colors of the uploaded image.

Also, correct handling of PNG alpha channel information so it is preserved in output images.

Props adamsilverstein, pbearne, nosilver4u, peterdavehello, joemcgill, azaozz, codex-m, kirasong, justlevine, jokanane, sallyruchman, wpfed, tgsrvrs, antpb, tb1909.
Fixes #36477.


Built from https://develop.svn.wordpress.org/trunk@59589


git-svn-id: http://core.svn.wordpress.org/trunk@58975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-07 22:35:23 +00:00
Adam Silverstein
065f1ef453 Media: enable high bit depth resized image output with Imagick.
Fix an issue where uploaded HDR images were resized and output as SDR and thus significantly degraded from the original. When using Imagick, output images will now match the bit depth of the uploaded image.

Add a new filter ‘image_max_bit_depth’ which developers can use to control the maximum bit depth for resized images.

Props adamsilverstein, kirasong, gregbenz, apermo.
Fixes #62285.


Built from https://develop.svn.wordpress.org/trunk@59588


git-svn-id: http://core.svn.wordpress.org/trunk@58974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-07 21:06:24 +00:00
desrosj
34b761063c Build/Test Tools: Expand and improve MariaDB test matrix.
The latest LTS version of MariaDB is 11.4, which is now included in the test matrix.

This changeset also expands the test matrix to include all LTS versions of MariaDB with > 1% of usage on WordPress sites in the wild as reported by the stats page on WordPress.org. Though a few of these are unsupported upstream, they are still supported in WordPress itself.

MariaDB 5.5 is also included in the new matrix. Because it was intended as a drop-in replacement to MySQL at the time, this also brings some MySQL 5.5 testing into the matrix. This has not been regularly tested against since specific database versions were included due to the lack of a working Docker container.

Props johnbillion, jorbin.
See #62221.
Built from https://develop.svn.wordpress.org/trunk@59587


git-svn-id: http://core.svn.wordpress.org/trunk@58973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-07 16:15:22 +00:00
desrosj
177e5b6559 Build/Test Tools: Test MariaDB innovation releases.
MariaDB also follows the innovation release model. This adds testing for these releases to the test matrix and moves innovation versions to a new job in order to more clearly differentiate from LTS ones.

The current innovation release for MariaDB is `11.6`.

Props johnbillion, jorbin.
See #62221.
Built from https://develop.svn.wordpress.org/trunk@59586


git-svn-id: http://core.svn.wordpress.org/trunk@58972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-07 15:59:21 +00:00
desrosj
045d089bae Build/Test Tools: Test against MySQL 9.1.
This is the latest innovation release from MySQL.

Props johnbillion, jorbin.
See #62221.
Built from https://develop.svn.wordpress.org/trunk@59585


git-svn-id: http://core.svn.wordpress.org/trunk@58971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-07 15:53:20 +00:00
Sergey Biryukov
70b6f54551 Coding Standards: Use strict comparison in wp_check_for_changed_slugs().
Follow-up to [4556], [4637], [34685].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59584


git-svn-id: http://core.svn.wordpress.org/trunk@58970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-07 15:48:20 +00:00
desrosj
6f4f3aa934 Tests: Fix explode() error for old DB versions on PHP 8.1+.
On MySQL/MariaDB 5.5, the default value for `sql_mode` was a blank string. By itself this is not a problem. However, `$wpdb->get_var()` returns `null` when a variable has an empty value.

One test method currently passes the result of `$wpdb->get_var( 'SELECT @@SESSION.sql_mode;' )` to `explode()` in order to reset the database to the pre-test method state. This causes an error when running PHP 8.1+, which deprecated the ability to pass `null` as a parameter of `explode()`.

This edge case was undiscovered because these versions are not currently included in the automated testing matrix.

See #62280.
Built from https://develop.svn.wordpress.org/trunk@59583


git-svn-id: http://core.svn.wordpress.org/trunk@58969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-07 15:42:25 +00:00
Felix Arntz
cfee5c0868 Build/Test Tools: Fix incorrect commit time being reported to WordPress Code Vitals Dashboard.
2nd attempt of [59570].

Props mukesh27, ayeshrajans, swissspidy, desrosj.
Fixes #62766.

Built from https://develop.svn.wordpress.org/trunk@59582


git-svn-id: http://core.svn.wordpress.org/trunk@58968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-06 21:21:24 +00:00
ryelle
24fcd34673 Help/About: Allow "See everything new" button to wrap
On some screen sizes and languages, the "See everything new" button expands out of the content area. This change allows the button to wrap at all screen sizes, and updates the style of this button for wrapped text.

Props franciscabusas22, sabernhardt, yogeshbhutka, sainathpoojary, im3dabasia1, audrasjb.
Fixes #62380.


Built from https://develop.svn.wordpress.org/trunk@59580


git-svn-id: http://core.svn.wordpress.org/trunk@58966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-06 16:20:23 +00:00
Sergey Biryukov
fe90ec9f08 Tests: Improve the test for the copyright year in bundled themes' readme.txt.
This aims to catch entries like `(C) 2024 WordPress.org` in addition to `Copyright 2024 WordPress.org`.

Includes converting the test to use a data provider, so that messages could be displayed for each individual theme.

Follow-up to [46719], [59569].

See #62280.
Built from https://develop.svn.wordpress.org/trunk@59579


git-svn-id: http://core.svn.wordpress.org/trunk@58965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-06 16:00:24 +00:00
John Blackbourn
0fc42c6443 Security: Enhance the wp_hash() function to support custom hashing algorithms.
The default algorithm remains as md5, but this change allows any algorithm that's supported by `hash_hmac()` to be used instead.

Props pushpenderindia, ayeshrajans, debarghyabanerjee, johnbillion

Fixes #62005

Built from https://develop.svn.wordpress.org/trunk@59578


git-svn-id: http://core.svn.wordpress.org/trunk@58964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-06 15:23:26 +00:00
Pascal Birchler
657321d1ba Build/Test Tools: Expand performance tests setup.
Run tests against Multisite (possible since [58097]) and on single post pages. Also improve cache flushes/resets between iterations.

Props swissspidy, flixos90, desrosj, mukesh27.
Fixes #62725.
Built from https://develop.svn.wordpress.org/trunk@59577


git-svn-id: http://core.svn.wordpress.org/trunk@58963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-06 10:31:23 +00:00
Peter Wilson
62e8c2f986 Comments: Noindex pages containing unapproved comments.
Adds a `noindex` directive to pages displaying a preview of an unapproved comment, ie pages with both an `approved` and `moderation-hash` parameter.

This is to prevent the pages from appearing in search engines which can be the case if they ignore the canonical URL directive.

Props peterwilsoncc, flixos90, joostdevalk.
Fixes #62760.

Built from https://develop.svn.wordpress.org/trunk@59576


git-svn-id: http://core.svn.wordpress.org/trunk@58962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-05 22:14:19 +00:00
Sergey Biryukov
e86f173f45 Coding Standards: Use strict comparison in get_pages().
Follow-up to [4180], [49108].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59575


git-svn-id: http://core.svn.wordpress.org/trunk@58961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-05 22:12:24 +00:00
Sergey Biryukov
aa87f88678 Coding Standards: Replace loose comparison in wpmu_welcome_notification().
Follow-up to [https://mu.trac.wordpress.org/changeset/543 mu:543].

Props debarghyabanerjee, aristath, poena, afercia, SergeyBiryukov.
Fixes #62283. See #62279.
Built from https://develop.svn.wordpress.org/trunk@59574


git-svn-id: http://core.svn.wordpress.org/trunk@58960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-04 10:27:21 +00:00
Sergey Biryukov
43380703cb Coding Standards: Use strict comparison in wpmu_validate_blog_signup().
Follow-up to [https://mu.trac.wordpress.org/changeset/8 mu:8], [https://mu.trac.wordpress.org/changeset/543 mu:543],  [https://mu.trac.wordpress.org/changeset/550 mu:550], [https://mu.trac.wordpress.org/changeset/1364 mu:1364], [https://mu.trac.wordpress.org/changeset/1958 mu:1958], [12603], [32733].

Props debarghyabanerjee, aristath, poena, afercia, SergeyBiryukov.
See #62279, #62283.
Built from https://develop.svn.wordpress.org/trunk@59573


git-svn-id: http://core.svn.wordpress.org/trunk@58959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-03 22:57:22 +00:00
Sergey Biryukov
1ea8475be2 Coding Standards: Use strict comparison in _reset_front_page_settings_for_post().
Follow-up to [6337], [25686].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59572


git-svn-id: http://core.svn.wordpress.org/trunk@58958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-02 18:27:23 +00:00
Felix Arntz
bb1d172850 Build/Test Tools: Revert [59570].
The fix did not work properly and is causing performance data for commits to not be sent at all. It is therefore reverted until a proper solution has been implemented.

See #62766.

Built from https://develop.svn.wordpress.org/trunk@59571


git-svn-id: http://core.svn.wordpress.org/trunk@58957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-02 16:41:18 +00:00
Felix Arntz
39bd3d038d Build/Test Tools: Fix incorrect commit time being reported to WordPress Code Vitals Dashboard.
Props mukesh27, ayeshrajans.
Fixes #62766.

Built from https://develop.svn.wordpress.org/trunk@59570


git-svn-id: http://core.svn.wordpress.org/trunk@58956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-02 16:13:21 +00:00
Peter Wilson
5247f68e15 Happy New Year Twenty Twenty-Five! 🎄
Update copyright year to 2025 in the Twenty Twenty-Five bundled theme's `readme.txt`.

Follow-up to [18201], [23306], [28064], [36855], [36856], [39659], [40241], [42424], [46719], [46720], [47025], [47026], [49915], [52427], [55024], [57235], [59568].


Built from https://develop.svn.wordpress.org/trunk@59569


git-svn-id: http://core.svn.wordpress.org/trunk@58955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-02 01:08:22 +00:00
Sergey Biryukov
275d202ae3 Happy New Year! 🎄
Update copyright year to 2025 in `license.txt` and bundled themes.

Follow-up to [18201], [23306], [28064], [36855], [36856], [39659], [40241], [42424], [46719], [46720], [47025], [47026], [49915], [52427], [55024], [57235]. 
Built from https://develop.svn.wordpress.org/trunk@59568


git-svn-id: http://core.svn.wordpress.org/trunk@58954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-01-01 00:12:24 +00:00
Sergey Biryukov
53704a95ce Coding Standards: Use strict comparison in wp_count_attachments().
Follow-up to [54255].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59567


git-svn-id: http://core.svn.wordpress.org/trunk@58953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-31 19:19:25 +00:00
Sergey Biryukov
54aeb1d515 Coding Standards: Use strict comparison in get_post_ancestors().
Follow-up to [7074], [15758], [21559], [21953].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59566


git-svn-id: http://core.svn.wordpress.org/trunk@58952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-30 09:32:20 +00:00
Sergey Biryukov
b8fa6385d0 Coding Standards: Use strict comparison in sanitize_post().
Follow-up to [12062].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59565


git-svn-id: http://core.svn.wordpress.org/trunk@58951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-29 21:54:22 +00:00
Sergey Biryukov
8166540e32 Options, Meta APIs: Ensure after_section is printed for sections without any fields.
This brings consistency with the `before_section` HTML content, which did get printed in `do_settings_sections()` regardless of whether the settings section has any fields attached.

Follow-up to [8855], [21742], [54247].

Props alpipego, SergeyBiryukov.
Fixes #62746.
Built from https://develop.svn.wordpress.org/trunk@59564


git-svn-id: http://core.svn.wordpress.org/trunk@58950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-28 22:10:20 +00:00
Sergey Biryukov
233cf19ea7 Coding Standards: Use strict comparison in is_user_spammy().
Follow-up to [https://mu.trac.wordpress.org/changeset/1640 mu:1640].

Props debarghyabanerjee, aristath, poena, afercia, SergeyBiryukov.
See #62279, #62283.
Built from https://develop.svn.wordpress.org/trunk@59563


git-svn-id: http://core.svn.wordpress.org/trunk@58949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-27 23:02:24 +00:00
Sergey Biryukov
dbbdd23e30 Coding Standards: Use strict comparison in get_active_blog_for_user().
Follow-up to [https://mu.trac.wordpress.org/changeset/804 mu:804], [https://mu.trac.wordpress.org/changeset/1918 mu:1918].

Props debarghyabanerjee, aristath, poena, afercia, SergeyBiryukov.
See #62279, #62283.
Built from https://develop.svn.wordpress.org/trunk@59562


git-svn-id: http://core.svn.wordpress.org/trunk@58948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-26 23:57:24 +00:00
Sergey Biryukov
767dea88eb Coding Standards: Use strict comparison in remove_user_from_blog().
Follow-up to [https://mu.trac.wordpress.org/changeset/543 mu:543].

Props debarghyabanerjee, aristath, poena, afercia, SergeyBiryukov.
See #62279, #62283.
Built from https://develop.svn.wordpress.org/trunk@59561


git-svn-id: http://core.svn.wordpress.org/trunk@58947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-25 18:31:23 +00:00
Sergey Biryukov
e85bca16d3 Coding Standards: Use strict comparison in wpmu_signup_blog_notification().
Follow-up to [https://mu.trac.wordpress.org/changeset/1970 mu:1970].

Props debarghyabanerjee.
See #62283.
Built from https://develop.svn.wordpress.org/trunk@59560


git-svn-id: http://core.svn.wordpress.org/trunk@58946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-24 22:24:27 +00:00
joedolson
fe1018b90d Themes: Add an ID to the block theme skip link.
Add the ID `wp-skip-link` to the block theme generated skip link, so that block themes have a standardized target at the top of the `body` element.

Props philliproth, audrasjb, debarghyabanerjee, sabernhardt, joedolson, apermo.
Fixes #62311.
Built from https://develop.svn.wordpress.org/trunk@59559


git-svn-id: http://core.svn.wordpress.org/trunk@58945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-23 23:03:30 +00:00
audrasjb
b2654a664e Coding Standards: Fix a comment indentation issue in script-loader.php.
Follow-up to [58703].

Props mukesh27.
See #62279.



Built from https://develop.svn.wordpress.org/trunk@59558


git-svn-id: http://core.svn.wordpress.org/trunk@58944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-23 22:09:24 +00:00
Sergey Biryukov
2a72efd451 Coding Standards: Use strict comparison in wpmu_validate_user_signup().
Follow-up to [14298], [19852].

Props debarghyabanerjee.
See #62283.
Built from https://develop.svn.wordpress.org/trunk@59557


git-svn-id: http://core.svn.wordpress.org/trunk@58943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-23 20:06:25 +00:00
Sergey Biryukov
097229b3ab Coding Standards: Use strict comparison in wp_handle_comment_submission().
Follow-up to [549], [1985], [2464], [2556], [2558], [34799], [40667].

Props deepakrohilla, narenin.
See #62316.
Built from https://develop.svn.wordpress.org/trunk@59556


git-svn-id: http://core.svn.wordpress.org/trunk@58942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-22 22:44:23 +00:00
joedolson
c05ab18981 Customizer: Allow custom accordion items with obsolete structure.
In [59224], customizer accordion item HTML structure was changed to include a `button` element as the interactive control. However, some themes inject custom markup for panel headings. 

Fix `controls.js` to handle both the new markup and the old markup, which is relatively common in themes.   

Props paullb, desrosj, sabernhardt, joedolson, jorbin.
Fixes #62494.
Built from https://develop.svn.wordpress.org/trunk@59555


git-svn-id: http://core.svn.wordpress.org/trunk@58941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-22 20:46:28 +00:00
audrasjb
988751f0bf I18n: Add translator context for various occurrences of "upload".
This changeset adds a `noun` or `verb` context to the various occurrences of "upload" in the admin, to make it easier for translators to differenciate these strings depending on the context.

Props timse201, wpgerd.
Fixes #62732.



Built from https://develop.svn.wordpress.org/trunk@59554


git-svn-id: http://core.svn.wordpress.org/trunk@58940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-22 19:15:26 +00:00
audrasjb
ceb9b355bf Themes: Fix unwanted horizontal scrolling in theme details screen on mobile.
This changeset fixes an issue where the theme browser created unwanted horizontal scrolling on some mobile devices. The issue occured when viewing theme details on mobile.

Follow-up to [26142].

Props wildworks, abcd95, sainathpoojary, dhruvang21, sabernhardt.
Fixes #62411.



Built from https://develop.svn.wordpress.org/trunk@59553


git-svn-id: http://core.svn.wordpress.org/trunk@58939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-22 08:36:23 +00:00
Sergey Biryukov
51a1a54a87 Help/About: Reorder release squad titles for some consistency in translation tools.
Follow-up to [59545].

See #62386.
Built from https://develop.svn.wordpress.org/trunk@59552


git-svn-id: http://core.svn.wordpress.org/trunk@58938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-21 23:16:24 +00:00
audrasjb
243c0cc59e Login and Registration: Adjust login form margins for better consistency.
This changeset addresses adjusts margins around the login form for visual consistency. The margin above and below the form is now consistently set to 24px, and the margin below the logo has also been adjusted to 24px.

Follow-up to [26072].

Props deeppatel8950, audrasjb, priyank9033, viralsampat, vijaysinh9094, sabernhardt, .
Fixes #61667.



Built from https://develop.svn.wordpress.org/trunk@59551


git-svn-id: http://core.svn.wordpress.org/trunk@58937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-21 22:39:27 +00:00
audrasjb
8d89d471f0 Media: Fix margin issues on the Media file upload screen.
This changeset fixes an issue in the Media Library where icons or thumbnails of uploaded files were stuck to the border of their container after file upload.

Follow-up to [58279].

Props sukhendu2002, im3dabasia1, sainathpoojary, joedolson.
Fixes #62573.
See #60141.



Built from https://develop.svn.wordpress.org/trunk@59550


git-svn-id: http://core.svn.wordpress.org/trunk@58936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-21 21:54:27 +00:00
audrasjb
f56f7a1ec6 Docs: Docblock improvements in .
Props shailu25.
Fixes #62730.
See #62281.


Built from https://develop.svn.wordpress.org/trunk@59549


git-svn-id: http://core.svn.wordpress.org/trunk@58935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-21 17:23:24 +00:00
Sergey Biryukov
48eb68ca1e Docs: Update parameter type hints to include null for post thumbnail functions.
Follow-up to [12320], [12351], [20646], [32618], [34167], [34373], [37915].

Props apermo, jasonsa19.
Fixes #62720.
Built from https://develop.svn.wordpress.org/trunk@59548


git-svn-id: http://core.svn.wordpress.org/trunk@58934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-20 23:35:23 +00:00
Peter Wilson
1747403b13 Help/About: Add additional release squad titles to credits page.
Introduces translatable strings for additional [https://make.wordpress.org/core/handbook/about/release-cycle/wordpress-release-team-and-focus-leads/ release squad titles].

This is to allow improved acknowledgement of an individual's role in a release squad by enabling the use of these roles in the credits API going forward.

Props audrasjb, desrosj, jorbin, timse201, yogeshbhutkar.
Fixes #62386.


Built from https://develop.svn.wordpress.org/trunk@59545


git-svn-id: http://core.svn.wordpress.org/trunk@58931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-19 21:56:26 +00:00
Peter Wilson
20621484e8 REST API: Protect against fatal error for post types without format support.
Ignore the `format` parameter introduced in WordPress 6.7 for post types that do not support post formats. This protects against a fatal error being thrown in later version of PHP or a warning in earlier versions of PHP.

Follow up to r59115.

Props dd32, sergeybiryukov, yogeshbhutkar.
Fixes #62646.
See #62014.

Built from https://develop.svn.wordpress.org/trunk@59544


git-svn-id: http://core.svn.wordpress.org/trunk@58930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-19 21:43:24 +00:00
Bernhard Reiter
13521bce0b Block Hooks: Apply to synced patterns.
Apply Block Hooks to synced patterns (i.e. `core/block` instances).

Props bernhard-reiter, gziolo.
Fixes #62704.
Built from https://develop.svn.wordpress.org/trunk@59543


git-svn-id: http://core.svn.wordpress.org/trunk@58929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-19 13:26:28 +00:00
Sergey Biryukov
87e7f72397 Docs: Add missing single quote in WP_User_Query::prepare_query() DocBlock.
Follow-up to [38715], [52226].

Props kkmuffme, mukesh27.
Fixes #62714.
Built from https://develop.svn.wordpress.org/trunk@59542


git-svn-id: http://core.svn.wordpress.org/trunk@58928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-19 10:24:23 +00:00
Sergey Biryukov
4210bfdbb2 Privacy: Replace hardcoded MD5 references in wp_credits_section_list().
The Credits API has been updated to return SHA-256 email hashes.

Follow-up to [59532], [meta14307].

Props haozi.
Fixes #62706, #60638.
Built from https://develop.svn.wordpress.org/trunk@59541


git-svn-id: http://core.svn.wordpress.org/trunk@58927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2024-12-19 03:44:24 +00:00