- Timestamp:
- 02/03/2023 01:57:31 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php
r54815 r55205 359 359 360 360 /** 361 * Moves a file. 362 * 363 * @since 2.5.0 364 * 365 * @param string $source Path to the source file. 366 * @param string $destination Path to the destination file. 367 * @param bool $overwrite Optional. Whether to overwrite the destination file if it exists. 361 * Moves a file or directory. 362 * 363 * After moving files or directories, OPcache will need to be invalidated. 364 * 365 * If moving a directory fails, `copy_dir()` can be used for a recursive copy. 366 * 367 * Use `move_dir()` for moving directories with OPcache invalidation and a 368 * fallback to `copy_dir()`. 369 * 370 * @since 2.5.0 371 * 372 * @param string $source Path to the source file or directory. 373 * @param string $destination Path to the destination file or directory. 374 * @param bool $overwrite Optional. Whether to overwrite the destination if it exists. 368 375 * Default false. 369 376 * @return bool True on success, false on failure.
Note: See TracChangeset
for help on using the changeset viewer.