Changes between Version 1 and Version 2 of Ticket #57516, comment 7
- Timestamp:
- 01/20/2023 07:10:10 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57516, comment 7
v1 v2 1 1 I've submitted [https://github.com/WordPress/wordpress-develop/pull/3877 PR 3877]. 2 2 3 There's an additional benefit for the filesystem classes that by using `$path = trailingslashit( $path )` before the `while()/foreach()` loops, the code is easier to read, and unnecessary concatenation isn't done in every iteration of the FTPloops.3 There's an additional benefit for the filesystem classes that by using `$path = trailingslashit( $path )` before the `while()/foreach()` loops, the code is easier to read, and unnecessary concatenation isn't done in every iteration of the loops. 4 4 5 5 All uses of `$path` after the PR's `$path = trailingslashit( $path )` were previously concatenated, so this doesn't cause any issues later.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)