mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-11 12:40:12 +00:00
Docs: Improve documentation of known return types, plus other docs fixes.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -452,7 +452,7 @@ function comment_class( $class = '', $comment = null, $post_id = null, $echo = t
|
||||
* @param string|array $class Optional. One or more classes to add to the class list. Default empty.
|
||||
* @param int|WP_Comment $comment_id Comment ID or WP_Comment object. Default current comment.
|
||||
* @param int|WP_Post $post_id Post ID or WP_Post object. Default current post.
|
||||
* @return array An array of classes.
|
||||
* @return string[] An array of classes.
|
||||
*/
|
||||
function get_comment_class( $class = '', $comment_id = null, $post_id = null ) {
|
||||
global $comment_alt, $comment_depth, $comment_thread_alt;
|
||||
|
||||
Reference in New Issue
Block a user