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

WordPress Trac noreply at wordpress.org
Tue Jul 19 16:21:10 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:"53724" 53724]:
 #!CommitTicketReference repository="" revision="53724"
 Coding Standards: Use consistent placement for `::prepare_links()`

 This moves the `::prepare_links()` methods in REST API classes next to
 `::prepare_item_for_response()` where they are used, to bring some
 consistency across the classes and make code navigation easier.

 Includes wrapping some long lines for better readability.

 Follow-up to [52079], [52051], [52342], [53721], [53722].

 See #55647.

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

More information about the wp-trac mailing list