From e68e9365c29b8ef469e03711c840c85a1d184c3e Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Thu, 5 May 2016 14:45:54 +0000 Subject: [PATCH] adding a debug message --- wp-webmention-again.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-webmention-again.php b/wp-webmention-again.php index c11e951..df0a076 100644 --- a/wp-webmention-again.php +++ b/wp-webmention-again.php @@ -485,6 +485,7 @@ class WP_Webmention_Again { // normalize url scheme, url_to_postid will take care of it anyway $url = preg_replace( '/^https?:\/\//i', 'http://', strtolower($url) ); $postid = url_to_postid( $url ); + static::debug( "Found postid for {$url}: {$postid}", 6); return apply_filters ('wp_webmention_again_validate_local', $postid , $url ); }