[wp-trac] [WordPress Trac] #19203: Fixed a couple of function descriptions in wp-includes/plugin.php

WordPress Trac noreply at wordpress.org
Thu Aug 8 08:16:20 UTC 2013


#19203: Fixed a couple of function descriptions in wp-includes/plugin.php
--------------------------+------------------------------
 Reporter:  amereservant  |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Inline Docs   |     Version:  1.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by ericlewis):

 The entire docblock here is confusing, and should be rewritten.

 There is conflation of the idea "hooks" and "callbacks." A hook is either
 a filter or an action. Your callback function can be hooked to a hook, but
 the callback is not a hook.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/19203#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list