[wp-trac] [WordPress Trac] #55327: PHP 8.0: improvements to allow for named parameters in WP 6.0

WordPress Trac noreply at wordpress.org
Thu Apr 14 15:14:06 UTC 2022


#55327: PHP 8.0: improvements to allow for named parameters in WP 6.0
-----------------------------+---------------------
 Reporter:  peterwilsoncc    |       Owner:  (none)
     Type:  task (blessed)   |      Status:  new
 Priority:  normal           |   Milestone:  6.0
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  php80 has-patch  |     Focuses:
-----------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"53183" 53183]:
 {{{
 #!CommitTicketReference repository="" revision="53183"
 Coding Standards: Rename the `$object` variable to `$attachment` in
 several files.

 This brings some consistency with a similar fragment in
 `Custom_Image_Heade::step_2_manage_upload()`,
 `WP_Site_Icon::insert_attachment()`, `media_handle_upload()`, and
 clarifies the type of the data.

 Follow-up to [52946], [53137].

 See #55327, #54728.
 }}}

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


More information about the wp-trac mailing list