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

WordPress Trac noreply at wordpress.org
Sat Jul 23 14:57:05 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:"53767" 53767]:
 #!CommitTicketReference repository="" revision="53767"
 Cache API: Make the placement of `wp_cache_flush_group()` more consistent.

 * Placing `WP_Object_Cache::flush_group()` next to `::flush()`.
 * Placing `wp_cache_supports_group_flush()` next to
 * Placing the `wp_cache_flush_group()` unit test next to the `::flush()`
 method test.
 * Removing test name from assertion messages, as it is already mentioned
 directly above in case of failure.
 * Adjusting function descriptions per the documentation standards.

 Follow-up to [52706], [53763].

 See #55647, #4476.

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

More information about the wp-trac mailing list