diff --git a/packages/block-library/src/post-author-name/index.js b/packages/block-library/src/post-author-name/index.js index 68fb2c2f737c25..34dcccd9acdd02 100644 --- a/packages/block-library/src/post-author-name/index.js +++ b/packages/block-library/src/post-author-name/index.js @@ -3,6 +3,7 @@ */ import metadata from './block.json'; import edit from './edit'; +import transforms from './transforms'; /** * WordPress dependencies @@ -14,5 +15,6 @@ export { metadata, name }; export const settings = { icon, + transforms, edit, }; diff --git a/packages/block-library/src/post-author-name/index.php b/packages/block-library/src/post-author-name/index.php index cfad82a68efcf2..08496d3e963bff 100644 --- a/packages/block-library/src/post-author-name/index.php +++ b/packages/block-library/src/post-author-name/index.php @@ -32,7 +32,7 @@ function render_block_core_post_author_name( $attributes, $content, $block ) { $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $align_class_name ) ); - return sprintf( '