[wp-trac] [WordPress Trac] #41101: Add filter to prevent the addition of a user to a blog

WordPress Trac noreply at wordpress.org
Mon Jun 26 19:43:57 UTC 2017


#41101: Add filter to prevent the addition of a user to a blog
--------------------------------------+------------------------------
 Reporter:  jmdodd                    |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Users                     |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+------------------------------

Comment (by flixos90):

 @jorbin As far as I'm aware, the core test case class resets all hooks
 automatically, so that shouldn't be a problem. However the calls to
 `wpmu_delete_blog()` can be removed since they are not committed by MySQL.
 Might need to double-check that, so correct me if I'm wrong.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41101#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list