Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update audit log message for comments transitioning status #1430

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions connectors/class-connector-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,10 +591,10 @@ public function callback_transition_comment_status( $new_status, $old_status, $c
$comment_type = get_comment_type( $comment->comment_ID );

$this->log(
/* translators: %1$s: a comment author, %2$s: a post title, %3$s: a comment type */
/* translators: %1$s: comment author, %2$s: comment status, %3$s: comment type, %4$s: old comment status, %5$s: post title */
_x(
'%1$s\'s %3$s %2$s',
'Comment status transition. 1: Comment author, 2: Post title, 3: Comment type',
'%1$s\'s %3$s on "%5$s" %2$s',
'Comment status transition. 1: Comment author, 2: New status, 3: Comment type, 4. Old status, 5. Post title',
kasparsd marked this conversation as resolved.
Show resolved Hide resolved
'stream'
),
compact( 'user_name', 'new_status', 'comment_type', 'old_status', 'post_title', 'post_id', 'user_id' ),
Expand Down