Files
wordpress/wp-includes
audrasjb 650e77076d Networks and Sites: Don't automatically mark website as spam when an account is marked as spam.
This changeset does the following:
- Explicitly add `403` to `wp_die()` calls for unauthorized actions
- Introduce the `network_user_spam_propagate_to_blogs` filter to provide flexibility for developers to control spam status propagation
- Use `is_super_admin()` checks for both "spam" and "notspam" actions to prevent unauthorized modification of network administrators
- Refine the "notspam" logic to ensure that blog status updates are correctly scoped to the current network
- Add related unit tests coverage

Props ignatiusjeroe, realloc, johnjamesjacoby, westonruter, mukesh27, pratiknawkar94, anukasha.
Fixes #61146.


Built from https://develop.svn.wordpress.org/trunk@61660


git-svn-id: http://core.svn.wordpress.org/trunk@60971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-17 09:25:40 +00:00
..
2026-02-09 21:15:57 +00:00
2026-02-09 21:15:57 +00:00
2026-02-09 21:15:57 +00:00
2026-02-09 21:15:57 +00:00