Skip to content

Commit

Permalink
Remove old data-wp-link leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz authored Jun 4, 2024
1 parent 93b5d74 commit 9185fce
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/blocks/interactive/movie-genres/render.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
if ( count( wp_get_post_categories( $post->ID ) ) !== 0 ) {
foreach ( wp_get_post_categories( $post->ID ) as $category_id ) {
?>
<a
data-wp-link="{ \'prefetch\': true }"
href="<?php echo get_category_link( $category_id ); ?>"
>
<a href="<?php echo get_category_link( $category_id ); ?>">
<?php echo get_cat_name( $category_id ); ?>
</a>
<?php
Expand Down

0 comments on commit 9185fce

Please sign in to comment.