Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 49fa6eb

Browse files
committed
Add support for enhancing refbacks
1 parent 2d5a973 commit 49fa6eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-linkbacks-handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public static function register_meta() {
171171
*/
172172
public static function enhance( $commentdata, $comment = array(), $commentarr = array() ) {
173173
// check if comment is a linkback
174-
if ( ! in_array( $commentdata['comment_type'], array( 'webmention', 'pingback', 'trackback' ), true ) ) {
174+
if ( ! in_array( $commentdata['comment_type'], array( 'webmention', 'pingback', 'trackback', 'refback' ), true ) ) {
175175
return $commentdata;
176176
}
177177

0 commit comments

Comments
 (0)