PluginProbe
Assistant – Every Day Productivity Apps / 1.4.7
Assistant – Every Day Productivity Apps v1.4.7
1.5.5 trunk 0.1.0 0.2.0 0.2.1 0.2.2 0.3.0 0.3.1 0.4 0.4.1 0.4.2 0.5.0 0.5.1 0.6.0 0.7.0 0.7.0.2 0.7.0.3 0.7.0.4 0.7.0.5 0.7.0.6 0.7.0.7 0.7.0.8 0.7.0.9 0.7.1 1.0 All 71 releases
← All changes | backend/src/Data/Transformers/CommentTransformer.php +8 -8 0.5.1 → 1.4.7 View file →
@@ -37,22 +37,22 @@
37 37 'authorURL' => get_comment_author_url( $comment->comment_ID ),
38 38 'thumbnail' => get_avatar_url( $comment->comment_author_email ),
39 39
40 40 'author' => [
41 - 'name' => $comment->comment_author,
42 - 'email' => $comment->comment_author_email,
43 - 'ip' => $comment->comment_author_IP,
44 - 'url' => get_comment_author_url( $comment->comment_ID ),
45 - 'avatar' => get_avatar_url( $comment->comment_author_email ),
41 + 'name' => $comment->comment_author,
42 + 'email' => $comment->comment_author_email,
43 + 'ip' => $comment->comment_author_IP,
44 + 'url' => get_comment_author_url( $comment->comment_ID ),
45 + 'avatar' => get_avatar_url( $comment->comment_author_email ),
46 46 ],
47 47
48 48 // Post Meta
49 49 'postId' => $post->ID,
50 50 'postTitle' => $post->post_title,
51 - 'post' => [
51 + 'post' => [
52 52 'id' => $post->ID,
53 53 'title' => $post->post_title,
54 - 'thumbnail' => ''
55 - ]
54 + 'thumbnail' => '',
55 + ],
56 56 ];
57 57 }
58 58 }