Skip to content

Commit 20012ba

Browse files
committed
Docs: Add missing default parameter value in trackback_response() docblock.
Props rakibwordpress, audrasjb, SergeyBiryukov. Fixes #56867. See #56792. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@54656 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 652f890 commit 20012ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-trackback.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @param int|bool $error Whether there was an error.
2727
* Default '0'. Accepts '0' or '1', true or false.
28-
* @param string $error_message Error message if an error occurred.
28+
* @param string $error_message Error message if an error occurred. Default empty string.
2929
*/
3030
function trackback_response( $error = 0, $error_message = '' ) {
3131
header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ) );

0 commit comments

Comments
 (0)