Changeset 1506500
- Timestamp:
- 10/01/2016 02:52:00 PM (9 years ago)
- Location:
- social-media-feather/trunk
- Files:
-
- 6 edited
-
readme.txt (modified) (1 diff)
-
social-media-feather.php (modified) (1 diff)
-
synved-connect/synved-connect-sponsor.php (modified) (2 diffs)
-
synved-connect/synved-connect.php (modified) (2 diffs)
-
synved-social/synved-social-setup.php (modified) (1 diff)
-
synved-social/synved-social.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-media-feather/trunk/readme.txt
r1501859 r1506500 205 205 == Changelog == 206 206 207 = 1.7.12 = 208 * Performance improvements for Dashboard loading 209 * Added "message" parameter to share shortcode 210 207 211 = 1.7.11 = 208 212 * Adjusted some text and README descriptions -
social-media-feather/trunk/social-media-feather.php
r1439207 r1506500 5 5 Description: Super lightweight social media plugin to add nice and effective social media sharing and following buttons and icons anywhere on your site quickly and easily 6 6 Author: Synved 7 Version: 1.7.1 17 Version: 1.7.12 8 8 Author URI: http://synved.com/ 9 9 -
social-media-feather/trunk/synved-connect/synved-connect-sponsor.php
r643181 r1506500 3 3 function synved_connect_sponsor_list($filter = null) 4 4 { 5 global $synved_connect; 6 5 7 $sponsor_list = array( 6 8 'wordpress-themes-1' => array( … … 41 43 ); 42 44 43 $feed = fetch_feed('http://feeds.feedburner.com/_SynvedConnectList?format=xml'); 44 45 if (!is_wp_error($feed)) 46 { 47 $maxitems = $feed->get_item_quantity(); 48 $feed_items = $feed->get_items(0, $maxitems); 49 $feed_list = array(); 50 51 if ($maxitems > 0) 52 { 53 foreach ($feed_items as $feed_item) 54 { 55 $id = $feed_item->get_id(); 56 $label = $feed_item->get_title(); 57 $tip = $feed_item->get_description(); 58 $link = $feed_item->get_permalink(); 59 $text = $feed_item->get_content(); 60 61 $id_parts = array(); 62 parse_str(parse_url($id, PHP_URL_QUERY), $id_parts); 63 $id = $id_parts['guid']; 64 65 $feed_categories = $feed_item->get_categories(); 66 $type = null; 67 68 if ($feed_categories != null) 69 { 70 $category_tag = 'synved-connect-type-'; 71 72 foreach ($feed_categories as $feed_category) 73 { 74 $feed_category = $feed_category->get_label(); 75 76 if (substr($feed_category, 0, strlen($category_tag)) == $category_tag) 77 { 78 $type = substr($feed_category, strlen($category_tag)); 79 80 break; 81 } 82 } 83 } 84 85 if ($type != null && $id != null) 86 { 87 $feed_list[$id] = array( 88 'type' => $type, 89 'label' => $label, 90 'tip' => $tip, 91 'link' => $link, 92 'text' => $text 93 ); 94 } 95 } 96 } 97 98 if ($feed_list != null) 99 { 100 $sponsor_list = $feed_list; 101 } 102 } 103 45 if (isset($synved_connect['sponsor-list'])) 46 { 47 $sponsor_list = $synved_connect['sponsor-list']; 48 } 49 else 50 { 51 $feed = fetch_feed('http://feeds.feedburner.com/_SynvedConnectList?format=xml'); 52 53 if (!is_wp_error($feed)) 54 { 55 $maxitems = $feed->get_item_quantity(); 56 $feed_items = $feed->get_items(0, $maxitems); 57 $feed_list = array(); 58 59 if ($maxitems > 0) 60 { 61 foreach ($feed_items as $feed_item) 62 { 63 $id = $feed_item->get_id(); 64 $label = $feed_item->get_title(); 65 $tip = $feed_item->get_description(); 66 $link = $feed_item->get_permalink(); 67 $text = $feed_item->get_content(); 68 69 $id_parts = array(); 70 parse_str(parse_url($id, PHP_URL_QUERY), $id_parts); 71 $id = $id_parts['guid']; 72 73 $feed_categories = $feed_item->get_categories(); 74 $type = null; 75 76 if ($feed_categories != null) 77 { 78 $category_tag = 'synved-connect-type-'; 79 80 foreach ($feed_categories as $feed_category) 81 { 82 $feed_category = $feed_category->get_label(); 83 84 if (substr($feed_category, 0, strlen($category_tag)) == $category_tag) 85 { 86 $type = substr($feed_category, strlen($category_tag)); 87 88 break; 89 } 90 } 91 } 92 93 if ($type != null && $id != null) 94 { 95 $feed_list[$id] = array( 96 'type' => $type, 97 'label' => $label, 98 'tip' => $tip, 99 'link' => $link, 100 'text' => $text 101 ); 102 } 103 } 104 } 105 106 if ($feed_list != null) 107 { 108 $sponsor_list = $feed_list; 109 } 110 } 111 112 $synved_connect['sponsor-list'] = $sponsor_list; 113 } 114 104 115 if ($filter != null) 105 116 { -
social-media-feather/trunk/synved-connect/synved-connect.php
r1005713 r1506500 4 4 Description: Connect and sync components in a WordPress installation with a remote server 5 5 Author: Synved 6 Version: 1.0. 26 Version: 1.0.3 7 7 Author URI: http://synved.com/ 8 8 License: GPLv2 … … 25 25 26 26 define('SYNVED_CONNECT_LOADED', true); 27 define('SYNVED_CONNECT_VERSION', 10000000 1);28 define('SYNVED_CONNECT_VERSION_STRING', '1.0. 1');27 define('SYNVED_CONNECT_VERSION', 100000003); 28 define('SYNVED_CONNECT_VERSION_STRING', '1.0.3'); 29 29 30 30 -
social-media-feather/trunk/synved-social/synved-social-setup.php
r1247510 r1506500 963 963 'url' => __('URL to use for the sharing buttons, default is the current post URL', 'social-media-feather'), 964 964 'title' => __('Title to use for the sharing buttons, default is the current post title', 'social-media-feather'), 965 'message' => __('Message to use when sharing content, replaced into the %%message%% variable', 'social-media-feather'), 965 966 ); 966 967 -
social-media-feather/trunk/synved-social/synved-social.php
r1439207 r1506500 4 4 Description: Social sharing and following tools 5 5 Author: Synved 6 Version: 1.7.1 16 Version: 1.7.12 7 7 Author URI: http://synved.com/ 8 8 License: GPLv2 … … 19 19 20 20 define('SYNVED_SOCIAL_LOADED', true); 21 define('SYNVED_SOCIAL_VERSION', 10007001 1);22 define('SYNVED_SOCIAL_VERSION_STRING', '1.7.1 1');21 define('SYNVED_SOCIAL_VERSION', 100070012); 22 define('SYNVED_SOCIAL_VERSION_STRING', '1.7.12'); 23 23 24 24 define('SYNVED_SOCIAL_ADDON_PATH', str_replace(array('/', '\\'), DIRECTORY_SEPARATOR, dirname(__FILE__) . '/addons')); … … 217 217 ), 218 218 'twitter' => array( 219 'link' => 'http ://twitter.com/share?url=%%url%%&text=%%message%%',219 'link' => 'https://twitter.com/intent/tweet?url=%%url%%&text=%%message%%', 220 220 'title' => __('Share on Twitter'), 221 221 ), … … 609 609 function synved_social_button_list_shortcode($atts, $content = null, $code = '', $context = null) 610 610 { 611 $vars_def = array('url' => null, 'image' => null, 'title' => null );611 $vars_def = array('url' => null, 'image' => null, 'title' => null, 'message' => null); 612 612 $params_def = array('skin' => null, 'size' => null, 'spacing' => null, 'container' => null, 'container_type' => null, 'class' => null, 'show' => null, 'hide' => null, 'prompt' => null, 'custom1' => null, 'custom2' => null, 'custom3' => null); 613 613 $vars = shortcode_atts($vars_def, $atts, 'feather_' . $context);
Note: See TracChangeset
for help on using the changeset viewer.