Skip to content

Commit

Permalink
Docs: Correct @param tag in untrailingslashit() to match the para…
Browse files Browse the repository at this point in the history
…meter name.

Follow-up to [54927].

Props justlevine.
See #52217, #62281.

git-svn-id: https://develop.svn.wordpress.org/trunk@59333 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Oct 31, 2024
1 parent 10200ee commit 7773262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/formatting.php
Original file line number Diff line number Diff line change
Expand Up @@ -2812,7 +2812,7 @@ function trailingslashit( $value ) {
*
* @since 2.2.0
*
* @param string $text Value from which trailing slashes will be removed.
* @param string $value Value from which trailing slashes will be removed.
* @return string String without the trailing slashes.
*/
function untrailingslashit( $value ) {
Expand Down

0 comments on commit 7773262

Please sign in to comment.