- Timestamp:
- 11/10/2025 10:49:33 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r61179 r61199 37 37 } 38 38 39 /**40 * Send a notification to the post author when a new note is added via the REST API.41 *42 * @since 6.9.043 *44 * @param WP_Comment $comment The comment object.45 */46 public static function wp_new_comment_via_rest_notify_postauthor( $comment ) {47 if ( 'note' === $comment->comment_type ) {48 wp_new_comment_notify_postauthor( $comment->comment_ID );49 }50 }51 39 /** 52 40 * Registers the routes for comments.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)