Make WordPress Core


Ignore:
Timestamp:
10/20/2022 06:21:02 PM (20 months ago)
Author:
jorbin
Message:

Docs: Add missing default parameter value in trackback_response() docblock.

Previously: [54656] [54657]

Props rakibwordpress, audrasjb, SergeyBiryukov.
Fixes #56867.
See #56792.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-trackback.php

    r54525 r54658  
    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 */
    3030function trackback_response( $error = 0, $error_message = '' ) {
Note: See TracChangeset for help on using the changeset viewer.