Skip to content

Commit

Permalink
Use correct hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jul 31, 2023
1 parent 2753c11 commit 5d4017d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/footnotes/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ function _wp_add_footnotes_to_revision( $fields ) {
function _wp_get_footnotes_from_revision( $revision_field, $field, $revision ) {
return get_metadata( 'post', $revision->ID, $field, true );
}
add_filter( 'wp_post_revision_field_footnotes', '_wp_get_footnotes_from_revision', 10, 3 );
add_filter( '_wp_post_revision_field_footnotes', '_wp_get_footnotes_from_revision', 10, 3 );

0 comments on commit 5d4017d

Please sign in to comment.