Changeset 1645474
- Timestamp:
- 04/26/2017 06:22:47 AM (9 years ago)
- Location:
- silicon-counters/trunk
- Files:
-
- 4 edited
-
framework/class-admin.php (modified) (4 diffs)
-
framework/counters/twitch-counter.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
silicon-counters.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
silicon-counters/trunk/framework/class-admin.php
r1536122 r1645474 62 62 protected static 63 63 function get_plugin_options() { 64 $twitter_oauth_description = sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/silicon-counters-free-social-counters-plugin-for-wordppress" target="_blank">Silicon Themes</a>' ); 65 $facebook_app_description = sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/silicon-counters-free-social-counters-plugin-for-wordppress" target="_blank">Silicon Themes</a>' ); 66 $font_awesome = sprintf( __( 'You can choose any icon from %s.', 'silicon-counters' ), '<a href="http://fontawesome.io/icons/" target="_blank">http://fontawesome.io/icons/</a>' ); 64 $twitter_oauth_description = sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/free-wordpress-social-media-plugin-counters/" target="_blank">Silicon Themes</a>' ); 65 $facebook_app_description = sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/free-wordpress-social-media-plugin-counters/" target="_blank">Silicon Themes</a>' ); 66 $twitch_id_description = sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/free-wordpress-social-media-plugin-counters/" target="_blank">Silicon Themes</a>' ); 67 $font_awesome = sprintf( __( 'You can choose any icon from %s.', 'silicon-counters' ), '<a href="http://fontawesome.io/icons/" target="_blank">http://fontawesome.io/icons/</a>' ); 67 68 68 69 $settings = array( … … 286 287 'title' => __( 'Google API Key', 'silicon-counters' ), 287 288 'type' => 'text', 288 'description' => sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/ silicon-counters-free-social-counters-plugin-for-wordppress" target="_blank">Silicon Themes</a>' )289 'description' => sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/free-wordpress-social-media-plugin-counters/" target="_blank">Silicon Themes</a>' ) 289 290 ), 290 291 'googleplus_shortcode' => array( … … 533 534 'title' => __( 'Google API Key', 'silicon-counters' ), 534 535 'type' => 'text', 535 'description' => sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/ silicon-counters-free-social-counters-plugin-for-wordppress" target="_blank">Silicon Themes</a>' )536 'description' => sprintf( __( 'Follow instructions on %s site', 'silicon-counters' ), '<a href="https://siliconthemes.com/free-wordpress-social-media-plugin-counters/" target="_blank">Silicon Themes</a>' ) 536 537 ), 537 538 'youtube_shortcode' => array( … … 983 984 'type' => 'text', 984 985 'description' => __( 'Insert your Twitch username.', 'silicon-counters' ) 986 ), 987 'twitch_client_id' => array( 988 'title' => __( 'Twitch Client ID', 'silicon-counters' ), 989 'type' => 'text', 990 'description' => $twitch_id_description 985 991 ), 986 992 'twitch_shortcode' => array( -
silicon-counters/trunk/framework/counters/twitch-counter.php
r1536122 r1645474 31 31 */ 32 32 public function get_total( $settings, $cache ) { 33 33 34 if ( $this->is_available( $settings ) ) { 34 35 $params = array( 35 36 'timeout' => 60, 36 37 'headers' => array( 37 ' accept' => 'application/vnd.twitchtv.v3+json'38 'Client-ID'=> sanitize_text_field( $settings['twitch_client_id'] ), 38 39 ) 39 40 ); -
silicon-counters/trunk/readme.txt
r1642136 r1645474 1 1 === Social Media Counters / SILICON COUNTERS === 2 2 Contributors: siliconthemes 3 Version: 1.1. 43 Version: 1.1.5 4 4 Donate link: https://siliconthemes.com/free-wordpress-social-media-plugin-counters/ 5 5 Plugin URI: https://siliconthemes.com/free-wordpress-social-media-plugin-counters/ … … 72 72 == Changelog == 73 73 74 = 1.1.5 = 75 26 April 2017 76 Hot fix for new Twitch API 77 74 78 = 1.1.4 = 75 79 21 April 2017 -
silicon-counters/trunk/silicon-counters.php
r1642133 r1645474 6 6 * Description: Simple yet powerful tool to show social networks statistic. It supports: Facebook, Twitter, Google Plus, Instagram, Twitch, YouTube, Pinterest, Vimeo, GitHub, SoundCloud, Steam and also standard WordPress numbers like a comments, users and posts. 7 7 * Author: Silicon Themes 8 * Version: 1.1. 48 * Version: 1.1.5 9 9 * License: GPLv2 or later 10 10 * Text Domain: silicon-counters
Note: See TracChangeset
for help on using the changeset viewer.