[wp-trac] [WordPress Trac] #27230: New Action On User Delete Form

WordPress Trac noreply at wordpress.org
Wed May 28 01:31:46 UTC 2014


#27230: New Action On User Delete Form
---------------------------------+-----------------------------
 Reporter:  usermrpapa           |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  4.0
Component:  Users                |     Version:  3.8
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.0-early  |     Focuses:  administration
---------------------------------+-----------------------------

Comment (by kpdesign):

 @usermrpapa: Thanks for the updated patch.

 You will need to include the [http://make.wordpress.org/core/handbook
 /inline-documentation-standards/php-documentation-standards/#4-hooks-
 actions-and-filters documentation] for the parameter `$current_user` in
 the doc block in wp-admin/users.php.

 The second instance of the hook in wp-admin/network/users.php should be
 marked as a [http://make.wordpress.org/core/handbook/inline-documentation-
 standards/php-documentation-standards/#4-1-duplicate-hooks duplicate
 hook].

 I'd also suggest shortening the description to "Fires at the end of the
 delete users form prior to the confirm button."

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


More information about the wp-trac mailing list