Skip to content

Commit

Permalink
Update class-media-handler.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaydsouza committed Nov 17, 2024
1 parent 128805e commit 091bea6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions includes/frontend/class-media-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,6 @@ public static function get_the_post_thumbnail( $args = array() ) {

if ( function_exists( 'wp_img_tag_add_loading_optimization_attrs' ) ) {
$output = wp_img_tag_add_loading_optimization_attrs( $output, self::$prefix . '_thumbnail' );
} elseif ( function_exists( 'wp_img_tag_add_loading_attr' ) ) {
$output = wp_img_tag_add_loading_attr( $output, 'crp_thumbnail' );
}
}

Expand Down

0 comments on commit 091bea6

Please sign in to comment.