[wp-trac] [WordPress Trac] #47052: code consistency on hooks using string + variable

WordPress Trac noreply at wordpress.org
Wed May 22 20:32:43 UTC 2019


#47052: code consistency on hooks using string + variable
-------------------------+-------------------------------
 Reporter:  arena        |       Owner:  desrosj
     Type:  enhancement  |      Status:  reviewing
 Priority:  normal       |   Milestone:  5.3
Component:  General      |     Version:  5.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  coding-standards
-------------------------+-------------------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => reviewing
 * focuses:   => coding-standards
 * milestone:  Awaiting Review => 5.3


Comment:

 Thanks for this, @arena.

 For reference, [https://make.wordpress.org/core/handbook/best-practices
 /coding-standards/php/#interpolation-for-naming-dynamic-hooks here is the
 relevant part] of the WordPress Core PHP coding standards.

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


More information about the wp-trac mailing list