Changeset 19751 for trunk/wp-includes/comment.php
- Timestamp:
- 01/25/2012 10:41:52 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r19712 r19751 1383 1383 * Sets the status of a comment. 1384 1384 * 1385 * The 'wp_set_comment_status' action is called after the comment is handled and 1386 * will only be called, if the comment status is either 'hold', 'approve', or 1387 * 'spam'. If the comment status is not in the list, then false is returned and 1388 * if the status is 'delete', then the comment is deleted without calling the 1389 * action. 1385 * The 'wp_set_comment_status' action is called after the comment is handled. 1386 * If the comment status is not in the list, then false is returned. 1390 1387 * 1391 1388 * @since 1.0.0 … … 1393 1390 * 1394 1391 * @param int $comment_id Comment ID. 1395 * @param string $comment_status New comment status, either 'hold', 'approve', 'spam', or ' delete'.1392 * @param string $comment_status New comment status, either 'hold', 'approve', 'spam', or 'trash'. 1396 1393 * @param bool $wp_error Whether to return a WP_Error object if there is a failure. Default is false. 1397 1394 * @return bool False on failure or deletion and true on success.
Note: See TracChangeset
for help on using the changeset viewer.