[wp-trac] [WordPress Trac] #25229: Add Inline Docs for Hooks

WordPress Trac noreply at wordpress.org
Wed Sep 18 11:56:55 UTC 2013


#25229: Add Inline Docs for Hooks
----------------------------+------------------
 Reporter:  rzen            |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.7
Component:  Inline Docs     |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by SergeyBiryukov):

 [attachment:wp-admin-includes-plugin.2.diff] — @dllh:
 [attachment:wp-includes-class-wp-admin-bar.php.patch] — @betzster:

 It's totally fine to use `@since Unknown`, but if you're specifying an
 actual version, please make sure it's correct.

 * `admin_bar_init` and `add_admin_bar_menus` actions were both introduced
 in 3.1 along with the admin bar itself (see [15862] and [16038]), not in
 3.0.2 or 3.0.4.
 * `activate_*` and `deactivate_*` were added in 2.0 (see [2697]), not in
 3.0.2.
 * `activate_plugin`, `activated_plugin` and their "deactivate"
 counterparts were added in 2.9 (see [11909]), not in 3.0.2 or 3.3.2.
 * `uninstall_*` was added in 2.7 (see [8585]), not in 2.6.1.

 Minor releases generally don't contain new hooks.

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


More information about the wp-trac mailing list