mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-08 03:40:20 +01:00
e73ee5ac98
* Takes inspiration from `WP_Post` and adds sanity to comment caching. * Clarifies when the current global value for `$comment` is returned. The current implementation in `get_comment()` introduces side effects and an occasion stale global value for `$comment` when comment caches are cleaned. * Strongly-types `@param` docs * This class is marked `final` for now Props wonderboymusic, nacin. See #32619. Built from https://develop.svn.wordpress.org/trunk@33891 git-svn-id: http://core.svn.wordpress.org/trunk@33860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
12 lines
277 B
PHP
12 lines
277 B
PHP
<?php
|
|
/**
|
|
* Manages WordPress comments
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Comment
|
|
*/
|
|
|
|
require_once( ABSPATH . WPINC . '/class-wp-comment.php' );
|
|
require_once( ABSPATH . WPINC . '/class-wp-comment-query.php' );
|
|
require_once( ABSPATH . WPINC . '/comment-functions.php' );
|