Skip to content

Commit

Permalink
Fix the reblog button (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk authored Mar 19, 2024
1 parent 1a17dc2 commit 718f2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/frontend/parts/reblog-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
return;
}
?>
<a tabindex="0" href="#" data-id="<?php echo esc_attr( get_the_ID() ); ?>" data-nonce="<?php esc_attr( wp_create_nonce( 'friends-reblog' ) ); ?>" class="btn ml-1 friends-reblog has-icon-right">
<a tabindex="0" href="#" data-id="<?php echo esc_attr( get_the_ID() ); ?>" data-nonce="<?php echo esc_attr( wp_create_nonce( 'friends-reblog' ) ); ?>" class="btn ml-1 friends-reblog has-icon-right">
<i class="dashicons dashicons-controls-repeat"></i> <?php echo esc_html( $args['button-label'] ); ?>
<?php if ( get_post_meta( get_the_ID(), 'reblogged', true ) ) : ?>
<i class="friends-reblog-status dashicons dashicons-saved"></i>
Expand Down

0 comments on commit 718f2ff

Please sign in to comment.