Skip to content

Commit

Permalink
Change format of connection debugging data
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Apr 14, 2024
1 parent ea0941a commit 85607ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wp-to-twitter-oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,11 @@ function wpt_update_oauth_settings( $auth = false, $post = false ) {
update_option( 'wpt_curl_error', $error_code );
}
if ( '1' === get_option( 'wp_debug_oauth' ) ) {
echo '<pre><strong>Summary Connection Response:</strong><br />';
echo '<h2>Summary Connection Response</h2><pre>';
print_r( $error_information );
echo '<br /><strong>Account Verification Data:</strong><br />';
echo '</pre><h2>Account Verification Data</h2><pre>';
print_r( $data );
echo '<br /><strong>Full Connection Response:</strong><br />';
echo '</pre><h2>Full Connection Response</h2><pre>';
print_r( $connection );
echo '</pre>';
}
Expand Down

0 comments on commit 85607ea

Please sign in to comment.