Skip to content

Commit

Permalink
- hide fallback author display in post row
Browse files Browse the repository at this point in the history
  • Loading branch information
ojopaul committed Jul 18, 2022
1 parent 5bb950f commit d8f6d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Classes/Post_Editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public static function action_manage_posts_custom_column($column, $post_id)
$user = get_user_by('ID', $post->post_author);

if (is_a($user, 'WP_User')) {
echo sprintf('<span class="current-post-author-off">[%s]</span>', esc_html($user->display_name));
echo sprintf('<span style="display:none;" class="current-post-author-off">[%s]</span>', esc_html($user->display_name));
}
}
}
Expand Down

0 comments on commit d8f6d8a

Please sign in to comment.