mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 20:11:39 +00:00
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
This commit is contained in:
@@ -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' ) );
|
||||
|
||||
Reference in New Issue
Block a user