mirror of
https://github.com/10h30/wp-strava.git
synced 2026-07-11 18:56:18 +09:00
Added some missing 'Translators:' comments
Added class documentation Changed phpcs ignores to new style
This commit is contained in:
@@ -29,7 +29,7 @@ class WPStrava_ActivityShortcode {
|
||||
|
||||
if ( is_wp_error( $activity_details ) ) {
|
||||
if ( WPSTRAVA_DEBUG ) {
|
||||
return '<pre>' . print_r( $activity_details, true ) . '</pre>'; // @codingStandardsIgnoreLine
|
||||
return '<pre>' . print_r( $activity_details, true ) . '</pre>'; // phpcs:ignore -- Debug output.
|
||||
} else {
|
||||
return $activity_details->get_error_message();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user