Changeset 36660
- Timestamp:
- 02/24/2016 12:48:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r36626 r36660 1813 1813 * 1814 1814 * @since 1.2.0 1815 * @since 4.5.0 The `$commentdata` parameter was added. 1815 1816 * 1816 1817 * @param int $comment_ID The comment ID. 1817 1818 * @param int|string $comment_approved 1 if the comment is approved, 0 if not, 'spam' if spam. 1818 */ 1819 do_action( 'comment_post', $comment_ID, $commentdata['comment_approved'] ); 1819 * @param array $commentdata Comment data. 1820 */ 1821 do_action( 'comment_post', $comment_ID, $commentdata['comment_approved'], $commentdata ); 1820 1822 1821 1823 return $comment_ID;
Note: See TracChangeset
for help on using the changeset viewer.