- Timestamp:
- 02/03/2023 01:57:31 AM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r54815 r55205 369 369 370 370 /** 371 * Moves a file. 372 * 373 * @since 2.5.0 374 * 375 * @param string $source Path to the source file. 376 * @param string $destination Path to the destination file. 377 * @param bool $overwrite Optional. Whether to overwrite the destination file if it exists. 371 * Moves a file or directory. 372 * 373 * After moving files or directories, OPcache will need to be invalidated. 374 * 375 * If moving a directory fails, `copy_dir()` can be used for a recursive copy. 376 * 377 * Use `move_dir()` for moving directories with OPcache invalidation and a 378 * fallback to `copy_dir()`. 379 * 380 * @since 2.5.0 381 * 382 * @param string $source Path to the source file or directory. 383 * @param string $destination Path to the destination file or directory. 384 * @param bool $overwrite Optional. Whether to overwrite the destination if it exists. 378 385 * Default false. 379 386 * @return bool True on success, false on failure.
Note: See TracChangeset
for help on using the changeset viewer.