[wp-trac] [WordPress Trac] #25411: ms-default-filters.php treats sanitize_user as an action

WordPress Trac noreply at wordpress.org
Wed Sep 25 03:12:16 UTC 2013


#25411: ms-default-filters.php treats sanitize_user as an action
----------------------------+-----------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  3.7
Component:  Multisite       |    Version:  3.0
 Severity:  trivial         |   Keywords:  has-patch
----------------------------+-----------------------
 [source:tags/3.6.1/wp-includes/ms-default-filters.php#L21]:
 {{{
 add_action( 'sanitize_user', 'strtolower' );
 }}}
 Technically, `add_action()` is just a wrapper for `add_filter()`, however
 we should make it clear that `sanitize_user` is a filter, not an action.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25411>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list