From 15aed980c8779523431efa3f3d6b06c45e79b322 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Sun, 6 Dec 2015 22:01:44 +0000 Subject: [PATCH] Docs: Add proper `@param` and `@return` tags for `capital_P_dangit()`. Props timplunkett. Fixes #34863. git-svn-id: https://develop.svn.wordpress.org/trunk@35803 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 2fa1c523a0..92840de13d 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -4302,6 +4302,9 @@ function wp_basename( $path, $suffix = '' ) { * @since 3.0.0 * * @staticvar string|false $dblq + * + * @param string $text The text to be modified. + * @return string The modified text. */ function capital_P_dangit( $text ) { // Simple replacement for titles