#55170 closed enhancement (fixed)
Remove commented code from remove_user_from_blog()
| Reported by: | Faison | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 |
| Component: | Networks and Sites | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs, multisite, coding-standards |
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.