50974 Commits

Author SHA1 Message Date
Gilbert Caro
68a7ca8ca4 HostForge upstream setup wp-6.8.5-hf.1 2026-04-09 03:22:19 +08:00
desrosj
b70c252e2c Tag 6.8.5
Built from https://develop.svn.wordpress.org/tags/6.8.5@61929


git-svn-id: http://core.svn.wordpress.org/tags/6.8.5@61211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-11 02:48:15 +00:00
desrosj
6a229dcf9c WordPress 6.8.5.
Built from https://develop.svn.wordpress.org/branches/6.8@61928


git-svn-id: http://core.svn.wordpress.org/branches/6.8@61210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-11 02:42:29 +00:00
Peter Wilson
337ffc7ebe Grouped backports for the 6.8 branch.
- Interactivity API: Skip binding event handler attributes. The corresponding `data-wp-on--` attribute should be used instead.
- Customize: Introduce a fix for themes that pass a stringable object through the `template_include` filter despite it being documented as only accepting a string.



Built from https://develop.svn.wordpress.org/branches/6.8@61922


git-svn-id: http://core.svn.wordpress.org/branches/6.8@61204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-11 00:47:34 +00:00
desrosj
df4877c29a WordPress 6.8.4.
Built from https://develop.svn.wordpress.org/branches/6.8@61905


git-svn-id: http://core.svn.wordpress.org/branches/6.8@61187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-10 16:59:32 +00:00
desrosj
789f4459e4 Grouped backports for the 6.8 branch.
- XML-RPC: Switch to `wp_safe_remote()` when fetching a pingback URL.
- HTML API: Prevent `WP_HTML_Tag_Processor` instances being unserialized and add some extra logic for validating pattern and template file paths.
- KSES: Optimize PCRE pattern detecting numeric character references.
- Customize: Improve escaping approach used for nav menu attributes.
- Media: Ensure the attachment parent is accessible to the user before showing a link to it in the media manager.
- Interactivity API: Skip binding event handler attributes. The corresponding `data-wp-on--` attribute should be used instead.
- Administration: Ensure client-side templates are only detected when they're correctly associated with a script tag.
- Filesystem API: Don't attempt to extract invalid files from a zip when using the PclZip library.
- Comments: Don't attempt to create a note if the user cannot edit the target post.
- Media: Disable XML entity substitution in getID3.

Merges [61879-61890] to the 6.8 branch.

Props johnbillion, xknown, dmsnell, jorbin, peterwilson, adamsilverstein, desrosj, luisherranz, ocean90, westonruter, jonsurrell, aurdasjb.
Built from https://develop.svn.wordpress.org/branches/6.8@61901


git-svn-id: http://core.svn.wordpress.org/branches/6.8@61183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-03-10 16:37:37 +00:00
desrosj
cd36fb0506 Security: Update composer/ca-bundle to version 1.5.9.
Props jorbin, desrosj.

Merges [61146] to the 6.8 branch.
See #63165.
Built from https://develop.svn.wordpress.org/branches/6.8@61148


git-svn-id: http://core.svn.wordpress.org/branches/6.8@60484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-06 19:48:27 +00:00
desrosj
f39ba7494b Security: Update composer/ca-bundle to version 1.5.8.
Merges [60691] to the 6.8 branch.
See #63165.
Built from https://develop.svn.wordpress.org/branches/6.8@61147


git-svn-id: http://core.svn.wordpress.org/branches/6.8@60483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-11-06 19:37:34 +00:00
John Blackbourn
ddb25f9fd6 WordPress 6.8.3.
Built from https://develop.svn.wordpress.org/branches/6.8@60840


git-svn-id: http://core.svn.wordpress.org/branches/6.8@60176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-30 17:30:38 +00:00
John Blackbourn
14e5c03574 Menus: Prevent HTML in menu item titles from being rendered unexpectedly.
Merges [60815] and [60816] to the 6.8 branch.

Props audrasjb, desrosj, johnbillion, jorbin, phillsav, vortfu, westonruter
Built from https://develop.svn.wordpress.org/branches/6.8@60818


git-svn-id: http://core.svn.wordpress.org/branches/6.8@60154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-30 17:01:30 +00:00
John Blackbourn
e441ff0338 REST API: Increase the specificity of capability checks for collections when the edit context is in use.
The edit access in now taken into account for each individual post, term, or user in the response.

Merges [60814] into the 6.8 branch.

Props andraganescu, desrosj, ehti, hurayraiit, iandunn, joehoyle, johnbillion, jorbin, mnelson4, noisysocks, peterwilsoncc, rmccue, timothyblynjacobs, vortfu, whyisjake, zieladam.
Built from https://develop.svn.wordpress.org/branches/6.8@60817


git-svn-id: http://core.svn.wordpress.org/branches/6.8@60153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-30 16:52:31 +00:00
desrosj
2231a1345d Build/Test Tools: Add some missing permissions to the GitHub Actions workflows.
These permissions are not required for a public repo but are required for a private repo, for example a private fork.

Merges [60612], [60624] to the 6.8 branch.

Props johnbillion, desrosj.
See #63170
Built from https://develop.svn.wordpress.org/branches/6.8@60773


git-svn-id: http://core.svn.wordpress.org/branches/6.8@60109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-17 02:57:34 +00:00
desrosj
8423fdead3 Build/Test Tools: Test certificate-related scripts in 6.8 branch.
This makes use of the new input added in [60765], which runs the `copy:certificates` and `build:certificates` Grunt tasks to ensure there are no uncommitted changes to files under version control.

Follow up to [60765].

See #63939.
Built from https://develop.svn.wordpress.org/branches/6.8@60766


git-svn-id: http://core.svn.wordpress.org/branches/6.8@60102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-16 00:52:28 +00:00
desrosj
e9db284b71 Build/Test Tools: Fix tooling and PHPUnit test issues.
This fixes the PHPUnit test suite for the 6.8 branch by:
- Fixing issues with the `env:install` script when using newer PHP images.
- Temporarily disables failing tests with ImageMagick 7 is in use.

Backports [60735] and [60736] to the 6.8 branch.

See #63876, #63932.
Built from https://develop.svn.wordpress.org/branches/6.8@60744


git-svn-id: http://core.svn.wordpress.org/branches/6.8@60080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-15 19:17:29 +00:00
Peter Wilson
56f5bf7904 Update composer version for post 6.8.2 release bump.
Follow up to [60474].


Built from https://develop.svn.wordpress.org/branches/6.8@60531


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-08-01 02:00:27 +00:00
audrasjb
3d3e104908 Post 6.8.2 release bump.
The 6.8 branch is now 6.8.3-alpha


Built from https://develop.svn.wordpress.org/branches/6.8@60474


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-15 15:31:35 +00:00
audrasjb
ec442a4935 WordPress 6.8.2.
Built from https://develop.svn.wordpress.org/branches/6.8@60472


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-15 15:09:37 +00:00
audrasjb
3449abf307 Bundled Themes: Bump Default Theme versions for 6.8.2.
This bumps the versions of the following default themes for coordinated release with WordPress 6.8.2:

- Twenty Twelve: `4.6`
- Twenty Fourteen: `4.3`
- Twenty Sixteen: `3.6`
- Twenty Twenty-One: `2.6`
- Twenty Twenty-Five: `1.3`

Reviewed by peterwilsoncc, poena.
Merges [60452], [60453], [60454], [60455] and [60456] to the 6.8 branch.

Props peterwilsoncc, audrasjb, poena, sabernhardt.
Fixes #63681.


Built from https://develop.svn.wordpress.org/branches/6.8@60457


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-14 09:24:30 +00:00
audrasjb
c63a4f962d Post WordPress 6.8.2 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.8@60442


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-08 15:49:27 +00:00
audrasjb
26cb780464 WordPress 6.8.2 RC1.
Built from https://develop.svn.wordpress.org/branches/6.8@60441


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-08 15:35:32 +00:00
audrasjb
c0fbc5b21f Editor: Update packages for 6.8.2 RC1.
This changeset syncs packages from Gutenberg ahead of 6.8.2 RC1.

Merges [60438] to the 6.8 branch.
Props mamaduka, wildworks.
See #63582.


Built from https://develop.svn.wordpress.org/branches/6.8@60439


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-08 13:02:48 +00:00
audrasjb
7e06028d94 TinyMCE: Update TinyMCE cache version to prevent script errors.
Changeset [60007] updated some TinyMCE-related files but did not update the $tinymce_version cache key located in wp-includes/version.php. This changeset updates the cache key with the date of the last changes.

Follow-up to [60007].

Merges [60413] to the 6.8 branch.
Props oferlaor, sabernhardt, siliconforks, audrasjb.
Fixes #63308.


Built from https://develop.svn.wordpress.org/branches/6.8@60436


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-08 10:06:32 +00:00
audrasjb
deec6283f4 Editor: Free up transient memory leak in do_blocks().
There has been a memory inefficiency inside of `do_blocks()` where it
parses the given content then iterates through each top-level block to
render it. Unfortunately each top-level block can considerably add to
the overall memory use involved, and once moving on to the next
top-level block, all of the allocated memory will be retained until the
end of the call to `do_blocks()`.

In this change, each parsed block sub-tree is freed via reset to null
after it has been rendered. All top-level blocks are rendered
independently of each other and so this operation is safe — there are no
data dependencies between them.

This commit also includes follow-up changes committed in [60400] and [60402].

Rewieved by audrasjb.
Merges [60316], [60400] and [60402] to the 6.8 branch.
Props dmsnell, joemcgill.
Fixes #63588.


Built from https://develop.svn.wordpress.org/branches/6.8@60435


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-08 09:01:25 +00:00
audrasjb
48dd13b657 Editor: Add cache-busting for block styles on development mode.
This changeset introduces a development mode for block editor styles. When SCRIPT_DEBUG is enabled, block editor styles now use the file modification time as their version, ensuring cache busting during development. This matches the behavior that already exists for block scripts.

Previously, block editor styles only used the version from block.json, which doesn't change during development, causing styles to be cached even after changes.

Merges [60355] to the 6.8 branch.
Props helgatheviking, abcd95, gziolo, whaze, audrasjb, sandeepdahiya, rollybueno.
Fixes #63254.


Built from https://develop.svn.wordpress.org/branches/6.8@60434


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-08 08:54:23 +00:00
audrasjb
41e0db32e0 Twenty Twenty-Five: Ensure Editor styles are enqueued.
This changeset replaces get_parent_theme_file_uri( 'assets/css/editor-style.css' ) with add_editor_style( 'assets/css/editor-style.css' ); to ensure a relative path to the stylesheet file is used, and not an URL. This prevents the editor stylesheet from not being enqueued on various edge cases.

Merges [60424] to the 6.8 branch.
Props wildworks, sabernhardt, dhruvang21, karmatosed, SirLouen, audrasjb, sandeepdahiya.
Fixes #63399.

Built from https://develop.svn.wordpress.org/branches/6.8@60433


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-08 08:52:27 +00:00
Weston Ruter
ed9c140661 Build/Test Tools: Improve dev environment's CLI in speed, non-interactive usage, and argument handling.
* Start `cli` container when running `env:start`. This greatly speeds up calls to WP-CLI since the container is already running rather than having to start up for each call.
* Facilitate calls to `env:cli` in non-interactive context (non-TTY) to allow piping content into commands or use in shell scripts.
* Fix passing arguments to WP-CLI from `env:cli` so that arguments with spaces are passed as expected.
* Fix JSHint issues.

This aligns the wordpress-develop environment closer to wp-env. See https://github.com/WordPress/gutenberg/pull/50007.

Reviewed by audrasjb.
Merges [60308] to the 6.8 branch, minus the change to `.github/workflows/reusable-test-local-docker-environment-v1.yml` which was made irrelevant in [60092].

Props westonruter, jorbin, SirLouen, sandeepdahiya.
Fixes #63564.

Built from https://develop.svn.wordpress.org/branches/6.8@60432


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 23:42:28 +00:00
Weston Ruter
61ea808034 Build/Test Tools: Improve env:install command with better configurability and error handling.
* Force WP-CLI to use the `wp-config.php` in the directory above the `src` directory via the `WP_CONFIG_PATH` environment variable [read by WP-CLI](2800ad0a66/php/utils.php (L328-L329)) in the `wp_locate_config()` function.
* Update the `env:install` command to write out the config at the repo root instead of writing it inside of the `ABSPATH` only then to move it one directory up.
* Fix JSHint issues.
* Add error handling to when `npm run env:install` is executed without having first done `npm run env:start`, in which case the script will end with an exit code of 1 and emit:

> Error: It appears the development environment has not been started. Message: Timed out waiting for: tcp:localhost:8000
> Did you forget to do 'npm run env:start'?

Reviewed by audrasjb.
Merges [60305] to the 6.8 branch.

Fixes #63543.
Props westonruter, jorbin, SirLouen.

Built from https://develop.svn.wordpress.org/branches/6.8@60431


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 23:32:25 +00:00
Aaron Jorbin
6709f8f0d2 Pings/Trackbacks: Use HTTPS for services that now support it.
This updates the default on new installations for rpc.pingomatic.com to use https while also upgrading existing sites that use rpc.pingomatic.com or rpc.twingly.com to use https for those two domains.

Reviewed by audrasjb.
Merges [60421] and [60422] to the 6.8 branch.

Props sabernhardt, peterwilsoncc, jorbin, bhubbard, matt.
Fixes #42007.

Built from https://develop.svn.wordpress.org/branches/6.8@60428


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 20:34:31 +00:00
audrasjb
f623723507 Twenty Twelve: Fixes figcaption alignment.
The figcaption alignment was not the same on the front as in the editor. This resolves that.

Reviewed by audrasjb, karmatosed.
Merges [60343] to the 6.8 branch.
Props nidhidhandhukiya, sabernhardt.
Fixes #63073.


Built from https://develop.svn.wordpress.org/branches/6.8@60427


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 20:17:28 +00:00
audrasjb
13d511f79b Twenty Sixteen: Makes sure quote block plain style is in editor.
The plain style for quote block was not showing in the editor despite showing on the front. This patch now makes sure it also does not show the border in editor.

Reviewed by audrasjb, karmatosed.
Merges [60342] to the 6.8 branch.
Props nidhidhandhukiya, dilipbheda, sabernhardt, sainathpoojary, dhruvang21, harshgajipara, SirLouen, darshitrajyaguru97, jorbin.
Fixes #63424.


Built from https://develop.svn.wordpress.org/branches/6.8@60426


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 20:12:35 +00:00
audrasjb
606f4a2867 Twenty Fourteen: Fixes Latest Comment Link Color in Content Sidebar.
The white link text had worked against the dark background of the Primary and Footer widget areas, but not against the light background in the Content Sidebar. Therefore, r60368 excludes the Content Sidebar from that ruleset.

Reviewed by audrasjb.
Merges [60368] to the 6.8 branch.
Props sabernhardt, dhruvang21, ravigadhiyawp, sandeepdahiya.
Fixes #63520.

Built from https://develop.svn.wordpress.org/branches/6.8@60425


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 20:09:27 +00:00
audrasjb
e8fbcbdac1 Twenty Twenty-One: Add nav menu toggle behaviors at DOMContentLoaded instead of at the load event.
The `load` event (on `window`) fires after all resources on a page have been loaded, including images. This means that
on a slow connection, the mobile nav menu button may be rendered yet unresponsive to taps between when it first appears
and when the page has fully loaded. This is rectified by switching to the `DOMContentLoaded` event so that the nav menu
behaviors are attached as soon as the DOM has fully loaded.

Reviewed by audrasjb.
Merges [60352] to the 6.8 branch.
Props gernberg, westonruter, sabernhardt.
Fixes #63613.


Built from https://develop.svn.wordpress.org/branches/6.8@60423


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 18:50:33 +00:00
audrasjb
01e357b166 Media: expose height and width attributes to the wp_get_attachment_image_attributes filter.
Include the image height and width in the attributes passed to the `wp_get_attachment_image_attributes` filter. Developers can use this to adjust the width and height attributes returned from the `wp_get_attachment_image_attributes` function.

Reviewed by audrasjb.
Merges [60415] to the 6.8 branch.
Props divinenephron, nacin, Sam_a, wpsmith, anatolbroder, ericlewis, puggan, SergeyBiryukov, spacedmonkey, adamsilverstein, flixos90, sandeepdahiya, SirLouen.
Fixes #14110.


Built from https://develop.svn.wordpress.org/branches/6.8@60420


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-07 17:09:41 +00:00
audrasjb
9fd3e4740d Comments: Remove novalidate attribute from comments form by default.
Browser support for client-side validation is now reliable. Blocking the form submission when there is a missing/invalid field prevents the possibility of losing comment content when bfcache does not restore the previous page when going back.

To retain the `novalidate` attribute, the `comment_form()`'s args now accepts a `novalidate` key which will add the attribute when it is `true`. This can also be supplied by the `comment_form_default_fields filter`, for example:

{{{
add_filter( 'comment_form_defaults', function ( $args ) {
    $args['novalidate'] = true;
    return $args;
} );
}}}

Reviewed by audrasjb.
Merges [60304] to the 6.8 branch.

Fixes #47595.
Props westonruter, joedolson, sabernhardt, afercia, SergeyBiryukov, guddu1315, pfefferle, oglekler, bugnumber9.


Built from https://develop.svn.wordpress.org/branches/6.8@60412


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-05 06:53:38 +00:00
audrasjb
e74c56757f Media: Normalize all space characters to a space in sanitize_file_name().
The `sanitize_file_name()` function normalizes the no-break space to a normal space (`U+0020`) in order to prevent issues saving files with the no-break space in it.

This patch expands the replacement to all space characters, since it’s known that macOS stores a `NARROW NO-BREAK SPACE` (`U+202F`) in screenshot filenames between the time and the am/pm indicator.

There are deeper issues with the way this function works, but this patch resolves a known and common problem without raising any of the deeper refactoring questions.

Reviewed by audrasjb, youknowriad.
Merges [60399] to the 6.8 branch.
Props audrasjb, desrosj, dmsnell, jonsurrell, matt, room34, siliconforks, zieladam, annezazu.
Fixes #62995.


Built from https://develop.svn.wordpress.org/branches/6.8@60411


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-05 06:35:32 +00:00
audrasjb
ea3f5c6084 Revisions: Improve revisions layout on mobile viewports.
On small screens, the restore revision button was mostly hidden due to excessive constraints on overflow height. Fix the overflow issue and ensure that restore revision buttons are always usable.

Reviewed by audrasjb.
Merges [60259] to the 6.8 branch.
Props yogeshbhutkar, getsyash, joedolson.
Fixes #63029.


Built from https://develop.svn.wordpress.org/branches/6.8@60410


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-07-05 06:22:37 +00:00
desrosj
650dd78271 Security: Update composer/ca-bundle to version 1.5.7.
Merges [60320] to the 6.8 branch.

See #63165.
Built from https://develop.svn.wordpress.org/branches/6.8@60369


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-30 16:57:29 +00:00
John Blackbourn
18561ca56a Embeds: Remove screencast.com from oEmbed allow list.
Screencast have updated their URL structure to use a sub-domain and the prior oEmbed endpoint in the allow list now returns a 410 Gone response.

For discussion regarding the legacy endpoint refer to #61941, comment #35 onwards.

Merges [60345] to the 6.8 branch.

See #61941.
Props audrasjb, brhodes, dustintechsmith, joedolson, johnbillion, nikunj8866, paulstanos, peterwilsoncc, sandeepdahiya, sergeybiryukov, sirlouen, swissspidy.

Built from https://develop.svn.wordpress.org/branches/6.8@60354


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-26 19:06:33 +00:00
Peter Wilson
3649fdd1de Emoji: Update Twemoji to version 16.0.1.
Introduces support for Emoji 16:

- replaces emoji support test with splatter 🫟,
- replaces two letter coded flag support test with Sark 🇨🇶,
- introduces the function `emojiRendersEmptyCenterPoint()` to the emoji loader to enable testing of emoji with a single data point.

Not to harp 🪉 on about it, but Emoji 16 is perfect for tiring yourself out 🫩 digging 🪏 up root vegetables 🫜 while visiting Sark 🇨🇶.

Reviewed by audrasjb.
Merges [60227] to the 6.8 branch.

Props westonruter, kraftbj, pento, JeffPaul, abcd95, SergeyBiryukov, dd32, peterwilsoncc.
Fixes #63324.



Built from https://develop.svn.wordpress.org/branches/6.8@60317


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-06-18 01:53:33 +00:00
Peter Wilson
6843ac1660 Build/Test Tools: Adds summaries to each of the Tests_Basic test methods.
Reviewed by jorbin.
(See https://core.trac.wordpress.org/ticket/63390#comment:5)
Merges [60220] to the 6.8 branch.

See #63167.

Built from https://develop.svn.wordpress.org/branches/6.8@60224


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-06 02:41:23 +00:00
Peter Wilson
10196a8e0b Build/Test Tools: Test version in additional config files.
Introduces tests to ensure the version numbers in `package-lock.json` (two instances) and `composer.json` match the WordPress version specified in `version.php`.

In pull requests, the `package-lock.json` file is updated automatically to match the version in `package.json`. The new test is intended to ensure the version numbers are correct in production branches.

Reviewed by jorbin.
Merges [60219], [60221] to the 6.8 branch.

Fixes #63390.

Built from https://develop.svn.wordpress.org/branches/6.8@60223


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-06 02:39:27 +00:00
Peter Wilson
9450c4531e Build/Test Tools: Add version to composer.json.
The lack of a specified version in the composer.json file is causing some unexpected warnings.

Reviewed by peterwilsoncc.
Merges [60211], [60212] to the 6.8 branch with appropriate version number modifications.

Props sirlouen, johnbillion, TobiasBg, desrosj, jorbin.
See #63167.

Built from https://develop.svn.wordpress.org/branches/6.8@60218


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-05-05 01:07:27 +00:00
Aaron Jorbin
7a4341cf80 Post 6.8.1 release bump.
The 6.8 branch is now 6.8.2-alpha

Built from https://develop.svn.wordpress.org/branches/6.8@60210


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-30 17:35:25 +00:00
Aaron Jorbin
16a36cc684 WordPress 6.8.1
Built from https://develop.svn.wordpress.org/branches/6.8@60208


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-30 16:41:31 +00:00
Aaron Jorbin
dfaf4679ef Post WordPress 6.8.1 RC1 version bump.
Built from https://develop.svn.wordpress.org/branches/6.8@60202


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-28 17:32:27 +00:00
Aaron Jorbin
231925bf15 WordPress 6.8.1 RC1.
Built from https://develop.svn.wordpress.org/branches/6.8@60201


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-28 17:11:24 +00:00
Aaron Jorbin
0091259a72 REST API: Change posts endpoint to ignore_sticky=true by default
This restores the 6.7 and below behavior for the posts endpoint which did not include sticky posts by default.

Follow-up to [59801].

Reviewed by desrosj.
Merges [60197] to the 6.8 branch.

Props nikunj8866, SirLouen, ankitmaru, wildworks, karthikeya01, Mamaduka, spacedmonkey, jorbin.
Fixes #63307. See #35907.

Built from https://develop.svn.wordpress.org/branches/6.8@60200


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-28 16:49:20 +00:00
Aaron Jorbin
703e5d5e92 Update Packages for 6.8.1
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

Props wildworks, 0mirka00, sourav08, mamaduka, megane9988, jorbin, dsawyers, iamkingsleyf, soean, sc0ttkclark, presstoke, yogeshbhutkar, joen, joedolson, talldanwp, jarekmorawski, yogeshbhutkar, fabiankaegy, justlevine.
Fixes #63366.


Built from https://develop.svn.wordpress.org/branches/6.8@60199


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-28 16:47:40 +00:00
desrosj
a46e5b9c09 Media: Don't try to resize image formats which can't be resized
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].

Reviewed by desrosj.
Backports [60195] to the 6.8 branch.

Props sirlouen, adamsilverstein, audrasjb, pbiron, sainathpoojary, dilipbheda, pratiklondhe.
Fixes #63302. See #61167.
Built from https://develop.svn.wordpress.org/branches/6.8@60196


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-28 15:57:27 +00:00
desrosj
d6d70906d1 Admin bar: Update the "Edit Site" link to 6.7 destination.
This reverts [59910] and changes the "Edit Site" link to be the current template rather than the top-level screen of the Site Editor.

Reviewed by SergeyBiryukov, desrosj.
Merges [60193] to the 6.8 branch.

Props wildworks, joemcgill, poena, westonruter, nickwilmot, marktimemedia, eduwass, lilgames, codeamp, jeffr0, jorbin.
Fixes #63358. See #62368.
Built from https://develop.svn.wordpress.org/branches/6.8@60194


git-svn-id: http://core.svn.wordpress.org/branches/6.8@59530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-28 15:12:27 +00:00