Make WordPress Core

Changeset 61522


Ignore:
Timestamp:
01/23/2026 11:17:36 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Docs: Mark $delta parameter as optional in _wp_ajax_delete_comment_response().

Follow-up to [61508].

See #64224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r61508 r61522  
    456456 *
    457457 * @param int $comment_id Comment ID.
    458  * @param int $delta      Change in the number of total comments. Default -1.
     458 * @param int $delta      Optional. Change in the number of total comments. Default -1.
    459459 */
    460460function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) {
Note: See TracChangeset for help on using the changeset viewer.