more work on items

and

Merge branch 'master' of https://github.com/redmatrix/redmatrix

Conflicts:
	include/items.php
	view/it/messages.po
	view/it/strings.php
This commit is contained in:
redmatrix
2015-06-11 17:56:56 -07:00
13 changed files with 164 additions and 38 deletions

View File

@@ -101,8 +101,8 @@ Let's go ahead and add some code to implement our post_local hook handler.
if(local_channel() != $item['uid']) /* Does this person own the post? */
return;
if(($item['parent']) || ($item['item_restrict'])) {
/* If the item has a parent, or item_restrict is non-zero, this is a comment or something else, not a status post. */
if(($item['parent']) || (! is_item_normal($item))) {
/* If the item has a parent, or isn't "normal", this is a comment or something else, not a status post. */
return;
}