Browse files

docs(upgrading): documents comments hook return values

Updates upgrading guides with information about comments hook return values
  • Loading branch information...
hypeJunction committed May 9, 2015
1 parent 37321a1 commit b9d975f091163e1bcb2002bc058e2bb06ad07a2a
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/guides/upgrading.rst
@@ -116,6 +116,12 @@ Plugins should use the class ``Elgg\Application`` to boot Elgg. Typical usage:
require_once dirname(dirname(__DIR__)) . '/autoloader.php';
(new \Elgg\Application)->bootCore();
Comments plugin hook
Plugins can now return an empty string from ``'comments',$entity_type`` hook in order to override the default comments component view. To force the default comments component, your plugin must return ``false``. If you were using empty strings to force the default comments view, you need to update your hook handlers to return ``false``.
From 1.10 to 1.11

0 comments on commit b9d975f

Please sign in to comment.