Skip to content

Commit

Permalink
UPD: item class for share buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
cheh committed Jun 18, 2015
1 parent fce6198 commit bade5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cherry-social.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ public function prepare_query( $query, $post_data ) {
*/
public function build_html_item( $url, $data ) {

$output = sprintf( '<li class="cherry-share_item %2$s_item"><a class="cherry-share_link" href="%1$s" rel="nofollow" target="_blank" rel="nofollow" title="%3$s"><i class="%4$s"></i><span class="cherry-share_label">%5$s</span></a></li>',
$output = sprintf( '<li class="cherry-share_item %2$s-item"><a class="cherry-share_link" href="%1$s" rel="nofollow" target="_blank" rel="nofollow" title="%3$s"><i class="%4$s"></i><span class="cherry-share_label">%5$s</span></a></li>',
htmlspecialchars( $url ),
sanitize_html_class( $data['id'] ),
esc_html__( 'Share on ' . $data['name'], 'cherry-social' ),
Expand Down

0 comments on commit bade5ee

Please sign in to comment.