• Resolved Richard Foley

    (@richardfoley)


    The plugin is reporting that “initiator=other” deleted a comment.

    date	2019-01-08 02:23:19
    message	Deleted a comment to "{comment_post_title}" by {comment_author} ({comment_author_email})
    initiator	other
    context_message_key	comment_deleted

    I have no user named “other, so “other” is a fairly useless identifier for such an important event. When something is deleted, it is as important to know who/what initiated the delete action as to know what was deleted.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pär Thernström

    (@eskapism)

    Thanks for the bug report!

    Simple History uses the WordPress function wp_get_current_user() to determine what user is responsible for an action. In your case it probably did not return a user and that’s why the plugin marks the event as “other” = an unknown user.

    I have seen this behavior sometimes before when the WordPress installation have other plugins installed, are you using any other plugins that may modify the user behavior or the site?

    anderstein

    (@anderstein)

    Sorry for bringing up my problem a second time, but I have a different request. In a VERY important event the logged initiator was simply

    initiator other

    “other” created an admin account. This happened 3 times before I toke notice. Because of you I suspect plugins and deactivated some of them. If this is really a plugin doing this I need to know which one, when it happens again. I assume it will.

    Can your plugin also use another function than wp_get_current_user() to find out which part of my WordPress system is responsible?

    • This reply was modified 7 years ago by anderstein.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘“initiator=other” deleted something’ is closed to new replies.