From 615946a17f861faf9477a2b69ca3b2b03f544c6b Mon Sep 17 00:00:00 2001 From: Nikhil Joshua Date: Thu, 23 Sep 2021 16:14:17 +0530 Subject: [PATCH] fix: change the linkedin share url to latest version --- source.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source.php b/source.php index adabc34..4da4762 100644 --- a/source.php +++ b/source.php @@ -424,7 +424,7 @@ function rtsocial_counter( $content = '' ) { if ( 'horizontal' === $options['display_options_set'] ) { $lin_layout .= sprintf( - '
', + '
', $options['display_options_set'], rawurlencode( get_permalink( $post->ID ) ), rawurlencode( $rtatitle ), @@ -434,7 +434,7 @@ function rtsocial_counter( $content = '' ) { if ( 'vertical' === $options['display_options_set'] ) { $lin_layout .= sprintf( - '
', + '
', $options['display_options_set'], rawurlencode( get_permalink( $post->ID ) ), rawurlencode( $rtatitle ), @@ -444,7 +444,7 @@ function rtsocial_counter( $content = '' ) { if ( 'icon' === $options['display_options_set'] ) { $lin_layout .= sprintf( - '
', + '
', $options['display_options_set'], rawurlencode( get_permalink( $post->ID ) ), rawurlencode( $rtatitle ), @@ -455,7 +455,7 @@ function rtsocial_counter( $content = '' ) { if ( 'icon-count' === $options['display_options_set'] ) { $lin_layout = '
'; $lin_layout .= sprintf( - '
', + '
', rawurlencode( get_permalink( $post->ID ) ), rawurlencode( $rtatitle ), $rtatitle @@ -832,7 +832,7 @@ function rtsocial( $args = array() ) { if ( 'horizontal' === $options['display_options_set'] ) { $lin_layout .= sprintf( - '
%5$s', + '
%5$s', $options['display_options_set'], $rtslink, $rtstitle, @@ -843,7 +843,7 @@ function rtsocial( $args = array() ) { if ( 'vertical' === $options['display_options_set'] ) { $lin_layout .= sprintf( - '%1$s
', + '%1$s
', $lin_count, $options['display_options_set'], $rtslink, @@ -854,7 +854,7 @@ function rtsocial( $args = array() ) { if ( 'icon' === $options['display_options_set'] ) { $lin_layout .= sprintf( - '
', + '
', $options['display_options_set'], $rtslink, $rtstitle, @@ -866,7 +866,7 @@ function rtsocial( $args = array() ) { $lin_layout = '
'; $lin_count = ( empty( $options['hide_count'] ) || 1 !== (int) $options['hide_count'] ) ? '
' : ''; $lin_layout .= sprintf( - '
%4$s', + '
%4$s', $rtslink, $rtstitle, $rtatitle,