Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions projects/plugins/jetpack/changelog/fix-sal-user-error
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: other

Removing SAL user error writing
2 changes: 0 additions & 2 deletions projects/plugins/jetpack/sal/class.json-api-post-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,6 @@ public function get_author() {
$user = get_user_by( 'id', $this->post->post_author );

if ( ! $user || is_wp_error( $user ) ) {
trigger_error( 'Unknown user', E_USER_WARNING ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_trigger_error

return null;
}

Expand Down