[wp-trac] [WordPress Trac] #57839: Coding Standards fixes for WP 6.3

WordPress Trac noreply at wordpress.org
Fri Apr 28 15:04:34 UTC 2023


#57839: Coding Standards fixes for WP 6.3
--------------------------------------+---------------------
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.3
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"55697" 55697]:
 {{{
 #!CommitTicketReference repository="" revision="55697"
 Coding Standards: Bring some consistency to REST API revisions
 initialization.

 The autosaves and revisions controllers used to set the same class
 properties in a slightly different order.

 This commit makes the `::__construct()` methods of both classes more
 consistent to simplify future maintenance.

 Follow-up to [46272], [51962].

 See #57839.
 }}}

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


More information about the wp-trac mailing list