Skip to content
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
8 changes: 3 additions & 5 deletions packages/block-library/src/post-author/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,11 @@ function post_author_build_css_font_sizes( $attributes ) {
/**
* Renders the `core/post-author` block on the server.
*
* @param Object $block The block to render.
* @param array $attributes Block attributes.
*
* @return string Returns the rendered author block.
*/
function render_block_core_post_author( $block ) {

$attributes = $block->attributes;

function render_block_core_post_author( $attributes ) {
if ( empty( $attributes ) ) {
return '';
}
Expand Down