[wp-trac] [WordPress Trac] #55647: Coding Standards fixes for WP 6.1

WordPress Trac noreply at wordpress.org
Tue Aug 9 11:32:17 UTC 2022


#55647: Coding Standards fixes for WP 6.1
----------------------------+-------------------------------
 Reporter:  costdev         |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  6.1
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"53872" 53872]:
 {{{
 #!CommitTicketReference repository="" revision="53872"
 Coding Standards: Rename the `$file` parameter to `$path` in some
 `WP_Filesystem_*` methods.

 This aims to bring more clarity to the code, and applies to methods where
 the path can be a file or a directory:

 * `WP_Filesystem_*::exists()`
 * `WP_Filesystem_*::is_writable()`

 Follow-up to [6779], [25560].

 See #55647.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55647#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list