[wp-trac] [WordPress Trac] #61146: Multisite: Marking a user account as spam, also marks the blogs he's a member of as spam
WordPress Trac
noreply at wordpress.org
Tue Jan 28 17:07:48 UTC 2025
#61146: Multisite: Marking a user account as spam, also marks the blogs he's a
member of as spam
--------------------------------+------------------------------
Reporter: ignatiusjeroe | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 6.5
Severity: normal | Resolution:
Keywords: | Focuses: multisite
--------------------------------+------------------------------
Comment (by realloc):
Upon reviewing the [https://github.com/WordPress/wordpress-
develop/blob/trunk/src/wp-admin/network/users.php#L98 code], I can confirm
that when a user account is marked as spam, all the sites linked to that
user are set to 'spam' = '1'. Similarly, when a user is marked as
'notspam,' all their associated sites are [https://github.com/WordPress
/wordpress-develop/blob/trunk/src/wp-admin/network/users.php#L115 updated
to 'spam' = '0'].
This behaviour might be a good topic for discussion to understand its
purpose and whether it works as intended.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61146#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list