File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/wp-includes/rest-api/endpoints Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1962,7 +1962,7 @@ protected function check_is_comment_content_allowed( $prepared_comment ) {
19621962 return true ;
19631963 }
19641964
1965- // Allow empty block comments only when resolution metadata is valid.
1965+ // Allow empty notes only when resolution metadata is valid.
19661966 if (
19671967 isset ( $ check ['comment_type ' ] ) &&
19681968 'note ' === $ check ['comment_type ' ] &&
@@ -1980,10 +1980,10 @@ protected function check_is_comment_content_allowed( $prepared_comment ) {
19801980 }
19811981
19821982 /**
1983- * Check if post type supports block comments .
1983+ * Check if post type supports notes .
19841984 *
19851985 * @param string $post_type Post type name.
1986- * @return bool True if post type supports block comments , false otherwise.
1986+ * @return bool True if post type supports notes , false otherwise.
19871987 */
19881988 private function check_post_type_supports_notes ( $ post_type ) {
19891989 $ supports = get_all_post_type_supports ( $ post_type );
You can’t perform that action at this time.
0 commit comments