adding a debug message
Peter Molnar hello@petermolnar.eu
Thu, 05 May 2016 14:45:54 +0000
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
wp-webmention-again.php
→
wp-webmention-again.php
@@ -485,6 +485,7 @@ protected static function validate_local ( $url ) {
// 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 ); }