mirror of
https://github.com/10h30/wp-strava.git
synced 2026-06-05 15:10:01 +09:00
Changed to new phpcs:ignore
This commit is contained in:
@@ -84,7 +84,7 @@ class WPStrava_API {
|
||||
} elseif ( 503 == $response['response']['code'] ) {
|
||||
$error = __( 'Strava Temporarily Unavailable', 'wp-strava' );
|
||||
} else {
|
||||
$error = print_r( $response, true ); // @codingStandardsIgnoreLine
|
||||
$error = print_r( $response, true ); // phpcs:ignore -- Debug output.
|
||||
}
|
||||
|
||||
return new WP_Error(
|
||||
|
||||
@@ -96,7 +96,7 @@ class WPStrava_LatestMapWidget extends WP_Widget {
|
||||
|
||||
if ( WPSTRAVA_DEBUG ) {
|
||||
echo '<pre>';
|
||||
print_r( $activities ); // @codingStandardsIgnoreLine
|
||||
print_r( $activities ); // phpcs:ignore -- Debug output.
|
||||
echo '</pre>';
|
||||
} else {
|
||||
echo $activities->get_error_message();
|
||||
|
||||
Reference in New Issue
Block a user