|
|
@ -314,6 +314,7 @@ class github_embed { |
|
|
|
$response->html .= '<p class="github-milestone-description">'.nl2br(esc_html($summary->description))."</p><br>"; |
|
|
|
$response->html .= '<p class="github-milestone-description">'.nl2br(esc_html($summary->description))."</p><br>"; |
|
|
|
$response->html .= '</div>'; |
|
|
|
$response->html .= '</div>'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
error_log( basename( __FILE__ ) . ': (' . __LINE__ . ') : response is ' . print_r( $response, 1 ) ); |
|
|
|
header ( 'Content-Type: application/json' ); |
|
|
|
header ( 'Content-Type: application/json' ); |
|
|
|
echo json_encode ( $response ); |
|
|
|
echo json_encode ( $response ); |
|
|
|
die(); |
|
|
|
die(); |
|
|
@ -413,4 +414,4 @@ class github_embed { |
|
|
|
require_once ( 'github-api.php' ); |
|
|
|
require_once ( 'github-api.php' ); |
|
|
|
|
|
|
|
|
|
|
|
$github_api = new github_api(); |
|
|
|
$github_api = new github_api(); |
|
|
|
$github_embed = new github_embed ( $github_api ); |
|
|
|
$github_embed = new github_embed ( $github_api ); |
|
|
|