From 510dae83f8895c067822daf3ac9904d849474d5b Mon Sep 17 00:00:00 2001 From: Aaron Jorbin Date: Thu, 20 Oct 2022 18:21:02 +0000 Subject: [PATCH] Docs: Add missing default parameter value in trackback_response() docblock. Previously: [54656] [54657] Props rakibwordpress, audrasjb, SergeyBiryukov. Fixes #56867. See #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@54658 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-trackback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-trackback.php b/src/wp-trackback.php index c357e3193e..d7d1881417 100644 --- a/src/wp-trackback.php +++ b/src/wp-trackback.php @@ -25,7 +25,7 @@ wp_set_current_user( 0 ); * * @param int|bool $error Whether there was an error. * Default '0'. Accepts '0' or '1', true or false. - * @param string $error_message Error message if an error occurred. + * @param string $error_message Error message if an error occurred. Default empty string. */ function trackback_response( $error = 0, $error_message = '' ) { header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ) );