Changeset 47017
- Timestamp:
- 12/27/2019 12:28:39 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r46823 r47017 2317 2317 * 2318 2318 * @param array $commentarr Contains information on the comment. 2319 * @return int Comment was updated if value is 1, or was not updated if value is 0.2319 * @return int The value 1 if the comment was updated, 0 if not updated. 2320 2320 */ 2321 2321 function wp_update_comment( $commentarr ) { -
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-comment.php
r46985 r47017 28 28 * @param array $args The comment details. 29 29 * 30 * @return false|intThe comment's ID on success, false on failure.30 * @return int|false The comment's ID on success, false on failure. 31 31 */ 32 32 public function create_object( $args ) { … … 40 40 * @param array $fields The comment details. 41 41 * 42 * @return int When updated 1, not update 0.42 * @return int The value 1 if the comment was updated, 0 if not updated. 43 43 */ 44 44 public function update_object( $comment_id, $fields ) {
Note: See TracChangeset
for help on using the changeset viewer.