Make WordPress Core

Changeset 36139


Ignore:
Timestamp:
12/31/2015 07:20:21 PM (9 years ago)
Author:
rachelbaker
Message:

Docs: Add null to post_id param type, fix syntax, and descriptions in the DocBlock for wp_update_comment_count().

See #32246.

File:
1 edited

Legend:

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

    r36119 r36139  
    20042004 * @staticvar array $_deferred
    20052005 *
    2006  * @param int $post_id Post ID
    2007  * @param bool $do_deferred Whether to process previously deferred post comment counts
    2008  * @return bool|void True on success, false on failure
     2006 * @param int|null $post_id     Post ID.
     2007 * @param bool     $do_deferred Optional. Whether to process previously deferred
     2008 *                              post comment counts. Default false.
     2009 * @return bool|void True on success, false on failure or if post with ID does
     2010 *                   not exist.
    20092011 */
    20102012function wp_update_comment_count($post_id, $do_deferred=false) {
Note: See TracChangeset for help on using the changeset viewer.