diff --git a/github-embed.php b/github-embed.php index febd5dc..948f50d 100644 --- a/github-embed.php +++ b/github-embed.php @@ -314,6 +314,7 @@ class github_embed { $response->html .= '

'.nl2br(esc_html($summary->description))."


"; $response->html .= ''; + error_log( basename( __FILE__ ) . ': (' . __LINE__ . ') : response is ' . print_r( $response, 1 ) ); header ( 'Content-Type: application/json' ); echo json_encode ( $response ); die(); @@ -413,4 +414,4 @@ class github_embed { require_once ( 'github-api.php' ); $github_api = new github_api(); -$github_embed = new github_embed ( $github_api ); \ No newline at end of file +$github_embed = new github_embed ( $github_api );