diff --git a/includes/User.php b/includes/User.php index a12349f0a49..7b9b5aeff9e 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1338,6 +1338,9 @@ class User { $blocked = false; wfDebug( __METHOD__ . ": self-talk page, ignoring any blocks\n" ); } + + wfRunHooks( 'UserIsBlockedFrom', array( $this, $title, &$blocked, &$allowUsertalk ) ); + wfProfileOut( __METHOD__ ); return $blocked; }