diff --git src/wp-includes/post.php src/wp-includes/post.php
index 52600b8..c55d64f 100644
|
|
function get_default_comment_status( $post_type = 'post', $comment_type = 'comme |
4111 | 4111 | * |
4112 | 4112 | * @param string $status Default status for the given post type, |
4113 | 4113 | * either 'open' or 'closed'. |
| 4114 | * @param string $post_type Post type. Default is `post`. |
4114 | 4115 | * @param string $comment_type Type of comment. Default is `comment`. |
4115 | 4116 | */ |
4116 | | return apply_filters( "get_{$post_type}_default_comment_status", $status, $comment_type ); |
| 4117 | return apply_filters( 'get_default_comment_status', $status, $post_type, $comment_type ); |
4117 | 4118 | } |
4118 | 4119 | |
4119 | 4120 | /** |