summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* Cache API: Consistently pass the `$expire` value as an integer in cache ↵HEADtrunkSergey Biryukov4 hours
| | | | | | | | | | | functions. Follow-up to [52700]. Props dilipbheda. Fixes #63364. git-svn-id: https://develop.svn.wordpress.org/trunk@60206 602fd350-edb4-49c9-b593-d223f7449a82
* Update Packages for 6.8.1 in trunk.Aaron Jorbin29 hours
| | | | | | | | | | | | | | | | | This includes the following changes: - https://github.com/WordPress/gutenberg/pull/69958 - https://github.com/WordPress/gutenberg/pull/70006 - https://github.com/WordPress/gutenberg/pull/70001 - https://github.com/WordPress/gutenberg/pull/69998 - https://github.com/WordPress/gutenberg/pull/70000 This was done in the 6.8 branch in [60199]. Since trunk's packages have not yet been updated for 6.9, this will allow for bug fixes in the 6.8 branch to also be available to people testing trunk. Props wildworks, 0mirka00, sourav08, mamaduka, megane9988, jorbin, dsawyers, iamkingsleyf, soean, sc0ttkclark, presstoke, yogeshbhutkar, joen, joedolson, talldanwp, jarekmorawski, yogeshbhutkar, fabiankaegy, justlevine, desrosj. Fixes #63366. git-svn-id: https://develop.svn.wordpress.org/trunk@60205 602fd350-edb4-49c9-b593-d223f7449a82
* Networks and Sites: Sanitize key parameter in `wp-activate.php`.Felix Arntz29 hours
| | | | | | | | Props khushipatel15. Fixes #63320. git-svn-id: https://develop.svn.wordpress.org/trunk@60204 602fd350-edb4-49c9-b593-d223f7449a82
* Query: Avoid unnecessary database query when deleting a font family.Felix Arntz30 hours
| | | | | | | | | | Querying only the font face IDs is sufficient when deleting a font family. There is no need to warm the caches with the full objects, since `wp_delete_post()` will always make a direct database query to get the object anyway. Props dilipbheda. Fixes #63014. git-svn-id: https://develop.svn.wordpress.org/trunk@60203 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Remove redundant `@abstract` tags from DocBlocks in `WP_Image_Editor`.Sergey Biryukov34 hours
| | | | | | | | | | | Since the affected methods are already marked as `abstract` in the function signature, these tags are unnecessary and add no new information. Follow-up to [22094], [22510], [22619]. Props marian1, narenin, ankitmaru. Fixes #63356. git-svn-id: https://develop.svn.wordpress.org/trunk@60198 602fd350-edb4-49c9-b593-d223f7449a82
* REST API: Change posts endpoint to ignore_sticky=true by defaultAaron Jorbin35 hours
| | | | | | | | | | | | This restores the 6.7 and below behavior for the posts endpoint which did not include sticky posts by default. Follow-up to [59801]. Props nikunj8866, SirLouen, ankitmaru, wildworks, karthikeya01, Mamaduka, spacedmonkey, jorbin. Fixes #63307. See #35907. git-svn-id: https://develop.svn.wordpress.org/trunk@60197 602fd350-edb4-49c9-b593-d223f7449a82
* Media: Don't try to resize image formats which can't be resizedAaron Jorbin35 hours
| | | | | | | | | | | | While having a mime type with an "image" prefix, SVG images are in fact "Scalable Vector Graphics" that can be scaled directly. Follow-up to [60084]. Props sirlouen, adamsilverstein, audrasjb, pbiron, sainathpoojary, dilipbheda, pratiklondhe. Fixes #63302. See #61167. git-svn-id: https://develop.svn.wordpress.org/trunk@60195 602fd350-edb4-49c9-b593-d223f7449a82
* Admin bar: Update the "Edit Site" link to 6.7 destination.Aaron Jorbin44 hours
| | | | | | | | | | This reverts [59910] and changes the "Edit Site" link to be the current template rather than the top-level screen of the Site Editor. Props wildworks, joemcgill, poena, westonruter, nickwilmot, marktimemedia, eduwass, lilgames, codeamp, jeffr0, jorbin. Fixes #63358. See #62368. git-svn-id: https://develop.svn.wordpress.org/trunk@60193 602fd350-edb4-49c9-b593-d223f7449a82
* Twenty Twenty-Five: Remove redundant `echo` from `esc_html_e()`.Sergey Biryukov2 days
| | | | | | | | | Follow-up to [59233]. Props dilipbheda, sabernhardt. Fixes #63345. git-svn-id: https://develop.svn.wordpress.org/trunk@60192 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Use `self::` for static member reference in `WP_Http`.Sergey Biryukov3 days
| | | | | | | | | | | | | | This resolves a PHPCS error: {{{ Squiz.Classes.SelfMemberReference.NotUsed - Must use "self::" for local static member reference }}} Follow-up to [20767], [37428], [38164]. Props dilipbheda. Fixes #63346. git-svn-id: https://develop.svn.wordpress.org/trunk@60191 602fd350-edb4-49c9-b593-d223f7449a82
* Themes: Add filter on bulk action fields.Joe Dolson4 days
| | | | | | | | | Because validation was added in [59134] to prevent submitting bulk actions with no selected action, sites that remove or change the default bulk actions can fail due to the missing required inputs. Add a filter (`bulk_action_observer_ids`) that allows modifying the actions accepted to fulfill validation rules. Props ethitter, kabir93, jorbin, davidbaumwald, joedolson. Fixes #63005. git-svn-id: https://develop.svn.wordpress.org/trunk@60186 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Correct parameter name in `Spy_REST_Server::set_status()`.Sergey Biryukov4 days
| | | | | | | | | Follow-up to [51960]. Props nareshbheda. Fixes #63343. git-svn-id: https://develop.svn.wordpress.org/trunk@60185 602fd350-edb4-49c9-b593-d223f7449a82
* About Page: Reduce copy on 6.8 about page.Aaron Jorbin5 days
| | | | | | | | | | In finalizing the 6.8 announcement post (https://wordpress.org/news/2025/04/cecil/) it was identified that some of the copy on the 6.8 about page is not an accurate description of what is in 6.8. This copy is receiving a game misconduct penalty and automatic ejection. While the coach could bring on a substitute, a line change is the better option here. Props abcd95, mukesh27, JeffPaul. Fixes #63323. git-svn-id: https://develop.svn.wordpress.org/trunk@60183 602fd350-edb4-49c9-b593-d223f7449a82
* Editor: Use different keys in array of translatable strings.Aaron Jorbin5 days
| | | | | | | | | | [59696] changed the 'Text' tab of the classic editor to 'Code' but `Code` was already used as a key in the array of translatable text. Since arrays keys need to be unique, this meant that it is possible for the wrong translation to appear in a locale. Using different keys fixes that. Props joedolson, sabernhardt, justlevine, swissspidy, audrasjb. Fixes #63269. See #38061. git-svn-id: https://develop.svn.wordpress.org/trunk@60182 602fd350-edb4-49c9-b593-d223f7449a82
* Site Health: Set missing `$transient` in ↵Sergey Biryukov6 days
| | | | | | | | | | | | | `WP_Debug_Data:get_wp_themes_inactive()`. This commit addresses a bug where the `update_themes` site transient was not defined before being checked in several `isset()` checks later on in the method. Follow-up to [59176]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60181 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Explicitly return `null` in `wp_get_nav_menu_to_edit()`.Sergey Biryukov7 days
| | | | | | | | | | | This commit updates the function to explicitly return `null` if a valid `$menu_id` is not passed or the term does not exist. Previously, the function could return `void`, but was typed as only returning a string or a `WP_Error` object. Follow-up to [14248]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60180 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Explicitly return `null` in `_wp_filter_build_unique_id()`.Sergey Biryukov7 days
| | | | | | | | | | | This commit updates the function to explicitly return `null` if a valid `$callback` is not passed. Previously, the function could return `void`, but was typed as only returning a string. Follow-up to [5936], [11409], [12090], [46220], [46801], [50807], [52300]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60179 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Improve and standardise the format of placeholder strings that get ↵John Blackbourn9 days
| | | | | | | | | | replaced within email messages. This prevents the strings being treated as h3 headings by the documentation parser on developer.wordpress.org. See #63166 git-svn-id: https://develop.svn.wordpress.org/trunk@60178 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Correct `$request` parameter type in `WP_REST_Server::get_index()`.Sergey Biryukov9 days
| | | | | | | | | Follow-up to [34928], [52796]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60177 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Correct default parameter type in ↵Sergey Biryukov9 days
| | | | | | | | | | | | | | | `WP_Meta_Query::__construct()`. This adjusts the default `$meta_query` parameter value to match the documented type of `array`. Since the function is gated with a loose, falsey `! $meta_query` check, there is no difference to function behavior. Follow-up to [17699]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60176 602fd350-edb4-49c9-b593-d223f7449a82
* XML-RPC: Correctly return deletion error message in ↵Sergey Biryukov10 days
| | | | | | | | | | | | | `wp_xmlrpc_server::wp_deleteTerm()`. This ensures that the correct variable is used to return the `WP_Error` message from the `wp_delete_term()` attempt. Follow-up to [20137]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60175 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Correct `$site_id` parameter default values in `WP_User`.Sergey Biryukov11 days
| | | | | | | | | | | | | | | | | This commit corrects the default `$site_id` parameter values used throughout the `WP_User` class to bring them in line with their `int` doctypes (and the doctypes of the functions used internally by the affected class methods). More specifically, * `__construct()`: `$site_id = ''` changed to `$site_id = 0` * `init()`: `$site_id = ''` changed to `$site_id = 0` * `for_blog()`: `$blog_id = ''` changed to `$blog_id = 0` * `for_site()`: `$site_id = ''` changed to `$site_id = 0` Follow-up to [12796], [15566], [18597], [41624]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60174 602fd350-edb4-49c9-b593-d223f7449a82
* Block Hooks: Suppress insertion next to post content wrapper block.bernhard-reiter12 days
| | | | | | | | | | | | | As of [59523], Block Hooks are applied to post content. In order to allow for insertion of a hooked block as `first_child` or `last_child` of the containing Post Content block, we wrap the block's post content (as obtained from the DB) in a temporary `<!-- wp:post-content -->` wrapper block, apply the Block Hooks algorithm to the resulting markup, and remove the wrapper block. (The same technique is applied for the Synced Pattern block -- see [59543] -- as well as the Navigation block.) However, this caused a problem when a hooked block was marked for insertion before `before` or `after` a Post Content block: The logic that's supposed to remove the temporary wrapper block after the Block Hooks algorithm runs erroneously removed that hooked block's delimiter instead of the wrapper block, producing garbled markup as a result. This changeset fixes the issue by adding a `hooked_block_types` filter (with `PHP_INT_MAX` priority) that removes any blocks hooked `before` or `after` a Post Content block, ''if'' the current context is a post object. This prevents any blocks hooked that way from being "absorbed" into the corresponding post object's content; it retains the ability to hook blocks `before` and `after` a Post Content block in any other context (e.g. a template). (The same principle is applied to Synced Pattern and Navigation blocks.) Props obenland, jorbin, gziolo, bernhard-reiter. Fixes #63287. git-svn-id: https://develop.svn.wordpress.org/trunk@60173 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Correct parameter name for `rest_menu_read_access` filter.Sergey Biryukov13 days
| | | | | | | | | | | The filter's third parameter was incorrectly named `$this`, which is not a valid parameter name. Follow-up to [59718], [59734]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60172 602fd350-edb4-49c9-b593-d223f7449a82
* Media: Prevent Multisite fatal error in legacy file rewrites.Peter Wilson14 days
| | | | | | | | | | | | | Removes a call to the `is_super_admin()` function in `ms-files.php` as the function isn't available when using the `SHORTINIT` feature, causing fatal errors on systems using file rewrites. Reverts [59967]. Props audrasjb, desrosj, jeremyfelt, johnjamesjacoby, jorbin, presskopp, verygoode, dd32, joemcgill. See #36803. Fixes #63285. git-svn-id: https://develop.svn.wordpress.org/trunk@60170 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Correct parameter types for `get_comments_number_text()`.Sergey Biryukov2025-04-14
| | | | | | | | | | | This updates the `@param` types to correctly reflect the default `false` parameter. Follow-up to [6495], [25567], [28912], [49936]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60166 602fd350-edb4-49c9-b593-d223f7449a82
* Upgrade/Install: Update the $_old_files array for 6.8.Jb Audras2025-04-14
| | | | git-svn-id: https://develop.svn.wordpress.org/trunk@60160 602fd350-edb4-49c9-b593-d223f7449a82
* Bundled Themes: Bump Default Theme versions for release.Jonathan Desrosiers2025-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | This bumps the versions of the following default themes for coordinated release with WordPress 6.8: - Twenty Ten: `4.4` - Twenty Eleven: `4.9` - Twenty Twelve: `4.5` - Twenty Thirteen: `4.4` - Twenty Fourteen: `4.2` - Twenty Fifteen: `4.0` - Twenty Sixteen: `3.5` - Twenty Seventeen: `3.9` - Twenty Nineteen: `3.1` - Twenty Twenty: `2.9` - Twenty Twenty-One: `2.5` - Twenty Twenty-Two: `2.0` - Twenty Twenty-Five: `1.2` Twenty Twenty-Three and Twenty Twenty-Four will not be receiving an update at this time. Props shailu25, sabernhardt, desrosj, poena. Fixes #62990. git-svn-id: https://develop.svn.wordpress.org/trunk@60159 602fd350-edb4-49c9-b593-d223f7449a82
* Bundled Themes: Bump `Tested up to` for Twenty Twenty-Three & Twenty ↵Jonathan Desrosiers2025-04-14
| | | | | | | | | | | Twenty-Four. An update for these two default themes will not be released in coordination with WordPress 6.8 due because there were no changes to the source code during the release cycle. However, they should be considered tested with 6.8, and this ensures that the next release properly indicates that. Props shailu25, sabernhardt, desrosj, poena. See #62990. git-svn-id: https://develop.svn.wordpress.org/trunk@60158 602fd350-edb4-49c9-b593-d223f7449a82
* Help/About: Add images to the About page.Peter Wilson2025-04-14
| | | | | | | | | | Updates the images in the About page source with the final versions on the w.org CDN. Props ryelle, dd32. See #63025. git-svn-id: https://develop.svn.wordpress.org/trunk@60154 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Check for an empty address first on admin email change ↵Sergey Biryukov2025-04-13
| | | | | | | | | | | | | notification. This follows a common best practice of checking for an empty value before doing a specific comparison. Follow-up to [60122], [60129]. Props dilipbheda, Presskopp. Fixes #63267. git-svn-id: https://develop.svn.wordpress.org/trunk@60153 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Correct `$post` parameter default values in ↵Sergey Biryukov2025-04-12
| | | | | | | | | | | | | | | | | | | `link-template.php`. This commit corrects the default post ID parameter values used in several functions to bring them in line with their `int` doctypes (and the doctypes of their internal function calls). More specifically, * `get_page_link()`: `$post = false` changed to `$post = 0` * `_get_page_link()`: `$post = false` changed to `$post = 0` * `post_comments_feed_link()`: `$post_id = ''` changed to `$post_id = 0` Follow-up to [1752], [4475], [6365], [9136], [9274], [21735], [24490], [32606], [37252]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60152 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Remove extra check in `WP_REST_Server::get_json_last_error()`.Sergey Biryukov2025-04-11
| | | | | | | | | | | `json_last_error()` can only return an integer, and the `JSON_ERROR_NONE` constant has the value of `0`, so the `empty()` check is redundant here. Follow-up to [34928], [46206]. Props dilipbheda, audrasjb, SergeyBiryukov. See #63249. git-svn-id: https://develop.svn.wordpress.org/trunk@60151 602fd350-edb4-49c9-b593-d223f7449a82
* Editor: Restore static properties for deprecated `__experimentalLinkControl`.Jonathan Desrosiers2025-04-10
| | | | | | | | | | | [59775] resulted in a backwards compatibility break in a now deprecated experimental component, which was stabilized to `LinkControl`. When experimental components are deprecated in favor of being stabilized, the same backwards compatibility policy applies and the shape of the component should not change. This restores the static properties that were unintentionally removed from the `__experimentalLinkControl` component that was moved to `DeprecatedExperimentalLinkControl`. Props karthikeya01, mamaduka, joemcgill, fabiankaegy, wildworks. Fixes #62887. git-svn-id: https://develop.svn.wordpress.org/trunk@60150 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Correct the type of the `$return` parameter in `embed_handler_html` ↵Sergey Biryukov2025-04-10
| | | | | | | | | | | | | filter. The value cannot be `false` at this point, as the filter is only applied to non-empty embed HTML. Follow-up to [25726], [46661]. Props apermo, jasonsa19. Fixes #63248. git-svn-id: https://develop.svn.wordpress.org/trunk@60149 602fd350-edb4-49c9-b593-d223f7449a82
* Tests: Use the `ms-required` group where appropriate.Sergey Biryukov2025-04-09
| | | | | | | | | | This replaces the `if ( is_multisite() )` conditional wrapping entire test classes with the `ms-required` group for more consistency across the test suite. Follow-up to [40520]. See #63167. git-svn-id: https://develop.svn.wordpress.org/trunk@60148 602fd350-edb4-49c9-b593-d223f7449a82
* General: Correct `force_ssl_content()` to always return a boolean value.Sergey Biryukov2025-04-08
| | | | | | | | | | | | | | | | This aims to bring parity with `force_ssl_admin()`. Includes: * Allowing `force_ssl_content()` to properly accept `false` as a value. * Correcting an erroneous `! $force` conditional that should have been reversed. * Adding unit tests to confirm valid behavior. Follow-up to [https://mu.trac.wordpress.org/changeset/1979 mu:1979], [11903], [12603], [47808], [59830]. Props justlevine for initial patch. See #52217. git-svn-id: https://develop.svn.wordpress.org/trunk@60147 602fd350-edb4-49c9-b593-d223f7449a82
* Themes: Allow files in a block theme's 'patterns' directory to be filterable.Joe McGill2025-04-08
| | | | | | | | | | Since [59872] all PHP files in the 'patterns' directory or subdirectories are auto registered. Adding a filter prior to autoregistration allows theme developers to modify the list of files before the auto registration. Props webmandesign, joemcgill, jorbin, poena. Fixes #63212. git-svn-id: https://develop.svn.wordpress.org/trunk@60142 602fd350-edb4-49c9-b593-d223f7449a82
* REST API: Fix hardcoded table name in `WP_Test_REST_Users_Controller`.Jb Audras2025-04-08
| | | | | | | | | | | This changeset fixes failing unit tests on the Hosting test suite because of the hardcoded table name in `WP_Test_REST_Users_Controller::test_get_items_only_fetches_ids_for_head_requests`. Props antonvlasenko, desrosj. Fixes #56481. git-svn-id: https://develop.svn.wordpress.org/trunk@60141 602fd350-edb4-49c9-b593-d223f7449a82
* Tests: Simplify the tests for `force_ssl_admin()`.Sergey Biryukov2025-04-07
| | | | | | | | | | | | | | | Includes: * The `$forced` static variable is reset to `false` before each test, and the function always returns the previous value on the first call, so there is no need to pass the same value from the data provider. * Clarifying data provider keys by removing the “first call” references to avoid confusion, as the test method always calls the function twice for each input value. * Replacing unnecessarily redundant test method name for consistency with other tests. * Moving the data provider after the test method for consistency with other tests. * Adjusting DocBlock formatting as per the documentation standards. Follow-up to [59830]. See #63167. git-svn-id: https://develop.svn.wordpress.org/trunk@60137 602fd350-edb4-49c9-b593-d223f7449a82
* Help/About: Revert subtle color to actually subtle color on Get Involved.Kelly Choyce-Dwan2025-04-07
| | | | | | | | | Props densinakum, courane01. See #63025. git-svn-id: https://develop.svn.wordpress.org/trunk@60136 602fd350-edb4-49c9-b593-d223f7449a82
* Site Editor: Fix PHP warning in `_wp_get_site_editor_redirection_url()`.Peter Wilson2025-04-07
| | | | | | | | | | | | Fixes a PHP Warning for an undefined array key "QUERY_STRING" in `_wp_get_site_editor_redirection_url()` in some PHP configurations. Depending on the configuration, `$_SERVER['QUERY_STRING']` can either be unset or an empty string when no query string included in the URL. This changes the condition from a falsey check to an `empty()` check. Props akshaydhere, dilipbheda, johnbillion, rainynewt, sabernhardt, sainathpoojary, shovan_jaya, tusharaddweb, wildworks. Fixes #63224. git-svn-id: https://develop.svn.wordpress.org/trunk@60134 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Remove unnecessary conditional in ↵Sergey Biryukov2025-04-06
| | | | | | | | | | | | | | | `WP_List_Table::print_column_headers()`. This commit removes an unnecessary `empty()` check, where the `$class` variable is primed at the top of the `foreach` loop and will always be a non-empty array. To maintain readability of the source of the `$class` attribute without the unnecessary `empty()` check, the resulting variable has been renamed to `$class_attr`, instead of reusing the array. Follow-up to [8923], [15491]. Props justlevine. See #52217. git-svn-id: https://develop.svn.wordpress.org/trunk@60132 602fd350-edb4-49c9-b593-d223f7449a82
* Coding Standards: Move `wp_unique_id_from_values()` next to `wp_unique_id()` ↵Sergey Biryukov2025-04-05
| | | | | | | | | | and `wp_unique_prefixed_id()`, for consistency. Follow-up to [60038]. See #63168. git-svn-id: https://develop.svn.wordpress.org/trunk@60131 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Correct the type of the `$found` parameter in `wp_cache_get()`.Sergey Biryukov2025-04-04
| | | | | | | | | Follow-up to [20089], [34225], [34227], [36069]. Props jigar-bhanushali. Fixes #63217. git-svn-id: https://develop.svn.wordpress.org/trunk@60130 602fd350-edb4-49c9-b593-d223f7449a82
* Administration: Don't attempt to send a notification about a change of site ↵John Blackbourn2025-04-04
| | | | | | | | | | admin or network admin email address when the old address is empty. Props spenserhale. Fixes #62211 git-svn-id: https://develop.svn.wordpress.org/trunk@60129 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Fix types for `wp_cache_set_last_changed` filter.Peter Wilson2025-04-03
| | | | | | | | | | | | Corrects the type for the `$time` and `$previous_time` parameters in the filter to indicate the times are expressed as strings. The values are generated from a call to `microtime()` which returns the time as a string in the form `msec sec`. Props tillkruess, westonruter. Fixes #63194. git-svn-id: https://develop.svn.wordpress.org/trunk@60128 602fd350-edb4-49c9-b593-d223f7449a82
* Docs: Correct the type of the `$cache` parameter in `embed_oembed_html`.Sergey Biryukov2025-04-03
| | | | | | | | | | | The value cannot be `false` at this point, as the filter is only applied to non-empty output. Follow-up to [25726], [46661]. Props apermo, xate. Fixes #63220. git-svn-id: https://develop.svn.wordpress.org/trunk@60127 602fd350-edb4-49c9-b593-d223f7449a82
* Security: Don't fail the Argon2-related tests when it's not available on the ↵John Blackbourn2025-04-03
| | | | | | | | | | | | test infrastructure. These tests are not critical to the bcrypt functionality, they exist to reaffirm that the underlying use of `password_hash()` and `password_verify()` supports this algorithm. The Argon2 tests therefore shouldn't unnecessarily fail on hosts that don't support it. Props desrosj, johnbillion. Fixes #21022 git-svn-id: https://develop.svn.wordpress.org/trunk@60124 602fd350-edb4-49c9-b593-d223f7449a82
* Application Passwords: Correct the fallback behaviour for application ↵John Blackbourn2025-04-03
| | | | | | | | | | | | passwords that don't use a generic hash. Application passwords that aren't hashed using BLAKE2b should be checked using `wp_check_password()` rather than assuming they were hashed with phpass. This provides full back compat support for application passwords that were created via an overridden `wp_hash_password()` function that uses an alternative hashing algorithm. Props snicco, debarghyabanerjee, peterwilsoncc, jorbin, johnbillion. Fixes #63203 git-svn-id: https://develop.svn.wordpress.org/trunk@60123 602fd350-edb4-49c9-b593-d223f7449a82