WordPress/wp-admin/includes
Sergey Biryukov 8d7d99289d Filesystem API: Return correct error data from copy_dir() if the directory listing failed.
The `::dirlist()` method is run on the `$from` directory, so `basename( $from )` is the correct thing to pass to the `WP_Error` object.

Follow-up to [50149].

Props afragen, costdev, pravinparmar2404.
Fixes #57907.
Built from https://develop.svn.wordpress.org/trunk@55538


git-svn-id: http://core.svn.wordpress.org/trunk@55050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-03-11 11:34:24 +00:00
..
admin-filters.php
admin.php
ajax-actions.php Media: Revert wp_ajax_save_attachment_updated hook. 2023-03-07 13:13:22 +00:00
bookmark.php
class-automatic-upgrader-skin.php
class-bulk-plugin-upgrader-skin.php
class-bulk-theme-upgrader-skin.php
class-bulk-upgrader-skin.php
class-core-upgrader.php
class-custom-background.php Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin. 2023-02-23 10:38:21 +00:00
class-custom-image-header.php Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin. 2023-02-23 10:38:21 +00:00
class-file-upload-upgrader.php
class-ftp-pure.php
class-ftp-sockets.php
class-ftp.php
class-language-pack-upgrader-skin.php
class-language-pack-upgrader.php
class-pclzip.php
class-plugin-installer-skin.php Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin. 2023-02-23 10:38:21 +00:00
class-plugin-upgrader-skin.php
class-plugin-upgrader.php
class-theme-installer-skin.php Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin. 2023-02-23 10:38:21 +00:00
class-theme-upgrader-skin.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-theme-upgrader.php
class-walker-category-checklist.php
class-walker-nav-menu-checklist.php
class-walker-nav-menu-edit.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-ajax-upgrader-skin.php
class-wp-application-passwords-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-automatic-updater.php Upgrade/Install: Introduce WP_Automatic_Updater::is_allowed_dir() method. 2023-02-26 15:19:21 +00:00
class-wp-comments-list-table.php Comments: Prime post caches in WP_Comments_List_Table. 2023-03-10 15:26:22 +00:00
class-wp-community-events.php
class-wp-debug-data.php Media: Add WP_Image_Editor_Imagick::set_imagick_time_limit() method. 2023-02-22 14:25:25 +00:00
class-wp-filesystem-base.php
class-wp-filesystem-direct.php Filesystem API: Use trailingslashit( $path ) instead of $path . '/'. Fixes a warning when $path already ends with a slash. 2023-02-16 22:13:28 +00:00
class-wp-filesystem-ftpext.php Filesystem API: Use trailingslashit( $path ) instead of $path . '/'. Fixes a warning when $path already ends with a slash. 2023-02-16 22:13:28 +00:00
class-wp-filesystem-ftpsockets.php Filesystem API: Use trailingslashit( $path ) instead of $path . '/'. Fixes a warning when $path already ends with a slash. 2023-02-16 22:13:28 +00:00
class-wp-filesystem-ssh2.php Filesystem API: Use trailingslashit( $path ) instead of $path . '/'. Fixes a warning when $path already ends with a slash. 2023-02-16 22:13:28 +00:00
class-wp-importer.php
class-wp-internal-pointers.php
class-wp-links-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-list-table-compat.php
class-wp-list-table.php Docs: Miscellaneous improvements and corrections to docblocks. 2023-02-07 21:21:18 +00:00
class-wp-media-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-ms-sites-list-table.php
class-wp-ms-themes-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-ms-users-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-plugin-install-list-table.php
class-wp-plugins-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-post-comments-list-table.php
class-wp-posts-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-privacy-data-export-requests-list-table.php
class-wp-privacy-data-removal-requests-list-table.php
class-wp-privacy-policy-content.php Docs: Add www. prefix to some PHP manual links in code comments. 2023-02-18 14:23:21 +00:00
class-wp-privacy-requests-table.php
class-wp-screen.php Docs: Miscellaneous improvements and corrections to docblocks. 2023-02-07 21:21:18 +00:00
class-wp-site-health-auto-updates.php
class-wp-site-health.php Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin. 2023-02-23 10:38:21 +00:00
class-wp-site-icon.php
class-wp-terms-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
class-wp-theme-install-list-table.php
class-wp-themes-list-table.php
class-wp-upgrader-skin.php
class-wp-upgrader-skins.php
class-wp-upgrader.php
class-wp-users-list-table.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
comment.php
continents-cities.php
credits.php
dashboard.php Administration: Update the Dashboard welcome banner for 6.2. 2023-03-01 16:42:18 +00:00
deprecated.php
edit-tag-messages.php
export.php
file.php Filesystem API: Return correct error data from copy_dir() if the directory listing failed. 2023-03-11 11:34:24 +00:00
image-edit.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
image.php
import.php
list-table.php
media.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
menu.php
meta-boxes.php Help/About: Avoid extra redirections on HelpHub Links. 2023-02-23 11:06:19 +00:00
misc.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
ms-admin-filters.php
ms-deprecated.php
ms.php Help/About: Use a consistent capitalization for "Support forums" links across WP Admin. 2023-02-23 11:13:22 +00:00
nav-menu.php Docs: Miscellaneous improvements and corrections to docblocks. 2023-02-07 21:21:18 +00:00
network.php Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin. 2023-02-23 10:38:21 +00:00
noop.php
options.php Help/About: Avoid extra redirections on HelpHub Links. 2023-02-23 11:06:19 +00:00
plugin-install.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
plugin.php
post.php Coding Standards: Rename $post_ID variable to $post_id in various files. 2023-02-19 15:05:22 +00:00
privacy-tools.php
revision.php
schema.php
screen.php
taxonomy.php Coding Standards: Use strict comparison in wp-admin/includes/taxonomy.php. 2023-03-10 07:04:20 +00:00
template.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
theme-install.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
theme.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
translation-install.php
update-core.php Upgrade/Install: Skip preloading Requests for WordPress versions before 4.6. 2023-02-08 15:03:19 +00:00
update.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00
upgrade.php
user.php Application Passwords: Allow plain HTTP success and reject URLs when using a local environment type. 2023-02-07 17:46:20 +00:00
widgets.php I18N: Mark screen reader strings as such with translator comments. 2023-02-07 17:10:21 +00:00