Docs: Clarify the file header summary for wp-includes/comment.php, the top-level file for the core Comments API.

Also adds inline DocBlock for the `require_once()` calls that now bring in the `WP_Comment` and `WP_Comment_Query` classes, as well as core comments functionality.

See #33413. See #33701.


git-svn-id: https://develop.svn.wordpress.org/trunk@33900 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-09-04 01:46:29 +00:00
parent 3abc0933bb
commit a767e01f17
1 changed files with 7 additions and 1 deletions

View File

@ -1,11 +1,17 @@
<?php <?php
/** /**
* Manages WordPress comments * Core Comments API
* *
* @package WordPress * @package WordPress
* @subpackage Comment * @subpackage Comment
* @since 1.5.0
*/ */
/** WP_Comment class */
require_once( ABSPATH . WPINC . '/class-wp-comment.php' ); require_once( ABSPATH . WPINC . '/class-wp-comment.php' );
/** WP_Comment_Query class */
require_once( ABSPATH . WPINC . '/class-wp-comment-query.php' ); require_once( ABSPATH . WPINC . '/class-wp-comment-query.php' );
/** Core comments functionality */
require_once( ABSPATH . WPINC . '/comment-functions.php' ); require_once( ABSPATH . WPINC . '/comment-functions.php' );