Rephrase a comment

This commit is contained in:
savvasha
2019-08-23 16:30:03 +03:00
parent cd63e27b35
commit 4884b214ae

View File

@@ -148,7 +148,7 @@ class SportsPress_Icons {
// Bypass if no ID // Bypass if no ID
if ( ! $id ) return $content; if ( ! $id ) return $content;
// Bypass if not performance post type // Bypass if not performance or statistic post type
$post_type = get_post_type( $id ); $post_type = get_post_type( $id );
if ( 'sp_performance' !== $post_type && 'sp_statistic' !== $post_type ) return $content; if ( 'sp_performance' !== $post_type && 'sp_statistic' !== $post_type ) return $content;