From bcb9ee5f209466278576faf0e6d7f134345b5d68 Mon Sep 17 00:00:00 2001 From: Tom Ladendorf Date: Fri, 20 Jun 2014 15:26:03 -0500 Subject: [PATCH] Improved share snippet wording --- wp-content/themes/tcs-responsive/functions.php | 2 +- wp-content/themes/tcs-responsive/page-blog.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/tcs-responsive/functions.php b/wp-content/themes/tcs-responsive/functions.php index d60aae4f..eedc1406 100644 --- a/wp-content/themes/tcs-responsive/functions.php +++ b/wp-content/themes/tcs-responsive/functions.php @@ -304,5 +304,5 @@ function auth0_LDAP() { /*function to format text into twitter post*/ function createTwitterPost($text, $permalink) { - return "http://twitter.com/home?status=" . str_replace('%0A','',urlencode(wrap_content_strip_html(wpautop($text), 100, true,'\n\r')) . " via @topcoder " . $permalink); + return "http://twitter.com/home?status=Blog:%20" . str_replace('%0A','',urlencode(wrap_content_strip_html(wpautop($text), 100, true,'\n\r')) . " via @topcoder " . $permalink); } diff --git a/wp-content/themes/tcs-responsive/page-blog.php b/wp-content/themes/tcs-responsive/page-blog.php index 467eff90..52716064 100644 --- a/wp-content/themes/tcs-responsive/page-blog.php +++ b/wp-content/themes/tcs-responsive/page-blog.php @@ -106,7 +106,7 @@ $dateStr = $dateObj->format('M j, Y'); $title = htmlspecialchars($post->post_title); - $subject = htmlspecialchars(get_bloginfo('name')).' : '.$title; + $subject = htmlspecialchars(get_bloginfo('name')).' blog: '.$title; $body = htmlspecialchars($post->post_content); $email_article = 'mailto:?subject='.rawurlencode($subject).'&body='.get_permalink($postId); //Bugfix I-109975: Correct format of twitter blog post shares