WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/30/2020 01:02:52 AM (7 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @since note to edit_comment() about the new return value.

Follow-up to [48154].

See #39732.

File:
1 edited

Legend:

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

    r48154 r48223  
    4646 *
    4747 * @since 2.0.0
     48 * @since 5.5.0 A return value was added.
     49 *
     50 * @return int|WP_Error The value 1 if the comment was updated, 0 if not updated.
     51 *                      A WP_Error object on failure.
    4852 */
    4953function edit_comment() {
Note: See TracChangeset for help on using the changeset viewer.