Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#25411 closed defect (bug) (fixed)

ms-default-filters.php treats sanitize_user as an action

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.7 Priority: normal
Severity: trivial Version: 3.0
Component: Multisite Keywords: has-patch
Focuses: Cc:

Description

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.

Attachments (1)

25411.patch (611 bytes) - added by SergeyBiryukov 11 years ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 25618:

'sanitize_user' is a filter, not an action. fixes #25411.

Note: See TracTickets for help on using tickets.