Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Dec 11, 2024
1 parent 9d95779 commit 5399a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function gutenberg_register_archive_link_field() {
'type',
'archive_link',
array(
'get_callback' => function( $post_object ) {
'get_callback' => function ( $post_object ) {
if ( isset( $post_object['has_archive'] ) && $post_object['has_archive'] ) {
$post_type = $post_object['slug'];
$archive_link = get_post_type_archive_link( $post_type );
Expand Down

0 comments on commit 5399a7b

Please sign in to comment.