Skip to content

Commit

Permalink
Add support for legacy citation in <footer> element. WordPress#2647
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrommen committed Oct 4, 2017
1 parent 41da560 commit 210f465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blocks/library/pullquote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ registerBlockType( 'core/pullquote', {
},
citation: {
type: 'array',
source: children( 'cite' ),
source: children( 'cite,footer' ),
},
align: {
type: 'string',
Expand Down
2 changes: 1 addition & 1 deletion blocks/library/quote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ registerBlockType( 'core/quote', {
},
citation: {
type: 'array',
source: children( 'cite' ),
source: children( 'cite,footer' ),
},
align: {
type: 'string',
Expand Down

0 comments on commit 210f465

Please sign in to comment.