adding a debug message

This commit is contained in:
Peter Molnar 2016-05-05 14:45:54 +00:00
parent ca4dd7e5a9
commit e68e9365c2

View file

@ -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 );
}