Skip to content

Commit 48cb687

Browse files
committed
Updated function name for registering comment meta
1 parent f0ee469 commit 48cb687

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wp-includes/comment.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4110,11 +4110,11 @@ function _wp_check_for_scheduled_update_comment_type() {
41104110
}
41114111

41124112
/**
4113-
* Register notes metadata for notes status.
4113+
* Register initial comment meta.
41144114
*
41154115
* @since 6.9.0
41164116
*/
4117-
function wp_register_notes_metadata() {
4117+
function wp_create_initial_comment_meta() {
41184118
register_meta(
41194119
'comment',
41204120
'_wp_note_status',
@@ -4134,4 +4134,4 @@ function wp_register_notes_metadata() {
41344134
)
41354135
);
41364136
}
4137-
add_action( 'init', 'wp_register_notes_metadata' );
4137+
add_action( 'init', 'wp_create_initial_comment_meta' );

0 commit comments

Comments
 (0)