Skip to content

Conversation

hm-backport[bot]
Copy link

@hm-backport hm-backport bot commented Aug 7, 2025

Backport #712.

In cases when a file is not directly in `wp_upload_dir()['basedir']`, Plugin::get_attachment_files will fail to include sub directories that the file is in.

`$meta['sizes']` and co should always be relative to the directory that the main file is in.
@joehoyle joehoyle merged commit e84c535 into v3-branch Aug 7, 2025
0 of 2 checks passed
@joehoyle joehoyle deleted the backport-712-to-v3-branch branch August 7, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant