[wp-trac] [WordPress Trac] #65150: Issue with copy_dir() function t does not skips folders.
WordPress Trac
noreply at wordpress.org
Wed May 6 09:28:27 UTC 2026
#65150: Issue with copy_dir() function t does not skips folders.
----------------------------+------------------------------
Reporter: neo2k23 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------+------------------------------
Comment (by hbhalodia):
Replying to [comment:9 neo2k23]:
> @hbhalodia
>
> I am flabbergasted that this bug exists since wp 3.7.0 (october 24 2013)
and nobody ever noticed this.By accident I stumbled across this, because
the theme activated was using a renamed _theme_copy_dir function in its
code to copy files and I wanted to get rid of it by calling the default wp
code.
>
> I am glad it will be resolved soon in a WordPress update.
Yes @neo2k23, That's surprise for me as well.
Let's wait for a core committer/ wider team to validate this indeed an
issue or it was an oversight/ known thing they kept it so long.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65150#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list