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

WordPress Trac noreply at wordpress.org
Fri Apr 26 23:40:12 UTC 2019


#47052: code consistency on hooks using string + variable
-------------------------+-----------------------------
 Reporter:  arena        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------------
 most of hooks using a string and one or more variables are coded like this


 {{{
 "hook_string-{$variable}"
 }}}


 except some of them ...

 the purpose of this ticket is
 * to adress the issue
 * to include this rule as a wordpress coding standard
 * to propose a patch for hooks not applying this rule


 regards

 ps :
 and i need it to make a cross reference tool,
 see first prototype here : https://blog.mailpress.org/hooks/wordpress-5-1/

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


More information about the wp-trac mailing list