[wp-trac] [WordPress Trac] #60700: Coding Standards fixes for WP 6.6

WordPress Trac noreply at wordpress.org
Tue Mar 19 17:45:46 UTC 2024


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

Comment (by SergeyBiryukov):

 In [changeset:"57857" 57857]:
 {{{
 #!CommitTicketReference repository="" revision="57857"
 Coding Standards: Rename the `$postid` parameter to `$post_id` in
 `wp_delete_post()`.

 This matches the parameter name in `wp_trash_post()` and all the other
 functions receiving post ID as a parameter.

 See #60700.
 }}}

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


More information about the wp-trac mailing list