Skip to content

Commit

Permalink
Post navigation link: Coding standard fixes (#58380)
Browse files Browse the repository at this point in the history
Update an inline comment to follow the PHP inline documentation standards.
  • Loading branch information
carolinan committed Jan 29, 2024
1 parent a6f1e4a commit d1e97fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-library/src/post-navigation-link/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ function render_block_core_post_navigation_link( $attributes, $content ) {
}
}

/**
/*
* The dynamic portion of the function name, `$navigation_type`,
* Refers to the type of adjacency, 'next' or 'previous'.
*
* @See https://developer.wordpress.org/reference/functions/get_previous_post_link/
* @See https://developer.wordpress.org/reference/functions/get_next_post_link/
* @see https://developer.wordpress.org/reference/functions/get_previous_post_link/
* @see https://developer.wordpress.org/reference/functions/get_next_post_link/
*/
$get_link_function = "get_{$navigation_type}_post_link";

Expand Down

0 comments on commit d1e97fa

Please sign in to comment.