Skip to content

Commit

Permalink
Fix Font Library Tests_Font_Library_Hooks test missed in #58128
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecoder committed Jan 23, 2024
1 parent 14b9e53 commit f460811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/tests/fonts/font-library/fontLibraryHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected function create_font_face_with_file( $filename ) {

$font_path = $font_file['file'];
$font_filename = basename( $font_path );
add_post_meta( $font_face_id, '_wp_font_face_files', $font_filename );
add_post_meta( $font_face_id, '_wp_font_face_file', $font_filename );

return array( $font_face_id, $font_path );
}
Expand Down

0 comments on commit f460811

Please sign in to comment.