#55170 closed enhancement (fixed)
Remove commented code from remove_user_from_blog()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | has-patch |
Focuses: | docs, multisite, coding-standards | Cc: |
Description
The function remove_user_from_blog()
contains a commented out call to the function wp_revoke_user()
(See source:/trunk/src/wp-includes/ms-functions.php#L283.
This commented line exists as far back as 2011 (see changeset:17379), and the only update to that line since then has been to update its code style (see changeset:47122).
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Hello there thanks for your report. It makes sens I think. Focuses as coding-standards because I think it is good practice to not let commented code in production.