[wp-trac] [WordPress Trac] #25393: Hook Docs: wp-login.php

WordPress Trac noreply at wordpress.org
Mon Oct 7 15:06:52 UTC 2013


#25393: Hook Docs: wp-login.php
-------------------------+---------------------------
 Reporter:  ShinichiN    |       Owner:  DrewAPicture
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.7
Component:  Inline Docs  |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------------

Comment (by DrewAPicture):

 Replying to [comment:11 tivnet]:
 > Replying to [comment:10 DrewAPicture]:
 >
 > This one is wrong
 > {{{
 > * @param int  $user_data->ID The ID of the user attempting to reset a
 password.
 > }}}
 >
 > because it re-declares $user_data as int (->ID is ignored)

 Not sure I'm following your logic. The docblock redeclares `$user_data` as
 int or code redeclares it as int somewhere I'm not seeing? If it's the
 former, we could always store in variable before the filter is evaluated.

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


More information about the wp-trac mailing list