Skip to content

Commit

Permalink
Fix Gallery v1 caption class name (WordPress#51076)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekblank authored and sethrubenstein committed Jul 13, 2023
1 parent 4c7cafa commit 8818a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/gallery/v1/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function saveV1( { attributes } ) {
<RichText.Content
tagName="figcaption"
className={ classnames(
'blocks-gallery-item',
'blocks-gallery-item__caption',
__experimentalGetElementClassName(
'caption'
)
Expand Down

0 comments on commit 8818a03

Please sign in to comment.