Added some missing 'Translators:' comments

Added class documentation
Changed phpcs ignores to new style
This commit is contained in:
Justin Foell
2018-03-23 16:52:06 -05:00
parent c1fc8fc2d9
commit 702febcc8c
6 changed files with 84 additions and 11 deletions
+1 -1
View File
@@ -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();
}