Changeset 1104324
- Timestamp:
- 03/03/2015 04:59:44 PM (11 years ago)
- Location:
- social-metrics-tracker
- Files:
-
- 104 added
- 3 edited
-
tags/1.4.4 (added)
-
tags/1.4.4/MetricsUpdater.class.php (added)
-
tags/1.4.4/SocialMetricsDebugger.class.php (added)
-
tags/1.4.4/SocialMetricsSettings.class.php (added)
-
tags/1.4.4/SocialMetricsTrackerWidget.class.php (added)
-
tags/1.4.4/css (added)
-
tags/1.4.4/css/social-metrics-tracker.min.css (added)
-
tags/1.4.4/css/social-metrics-tracker.min.css.map (added)
-
tags/1.4.4/css/social-metrics-tracker.scss (added)
-
tags/1.4.4/data-sources (added)
-
tags/1.4.4/data-sources/FacebookUpdater.class.php (added)
-
tags/1.4.4/data-sources/GooglePlusUpdater.class.php (added)
-
tags/1.4.4/data-sources/HTTPResourceUpdater.class.php (added)
-
tags/1.4.4/data-sources/LinkedInUpdater.class.php (added)
-
tags/1.4.4/data-sources/PinterestUpdater.class.php (added)
-
tags/1.4.4/data-sources/StumbleUponUpdater.class.php (added)
-
tags/1.4.4/data-sources/TwitterUpdater.class.php (added)
-
tags/1.4.4/data-sources/WordPressCircuitBreaker.class.php (added)
-
tags/1.4.4/data-sources/google_analytics.php (added)
-
tags/1.4.4/js (added)
-
tags/1.4.4/js/social-metrics-tracker.js (added)
-
tags/1.4.4/js/social-metrics-tracker.min.js (added)
-
tags/1.4.4/lib (added)
-
tags/1.4.4/lib/Google (added)
-
tags/1.4.4/lib/Google/Auth (added)
-
tags/1.4.4/lib/Google/Auth/Abstract.php (added)
-
tags/1.4.4/lib/Google/Auth/AssertionCredentials.php (added)
-
tags/1.4.4/lib/Google/Auth/Exception.php (added)
-
tags/1.4.4/lib/Google/Auth/LoginTicket.php (added)
-
tags/1.4.4/lib/Google/Auth/OAuth2.php (added)
-
tags/1.4.4/lib/Google/Auth/Simple.php (added)
-
tags/1.4.4/lib/Google/Cache (added)
-
tags/1.4.4/lib/Google/Cache/Abstract.php (added)
-
tags/1.4.4/lib/Google/Cache/Apc.php (added)
-
tags/1.4.4/lib/Google/Cache/Exception.php (added)
-
tags/1.4.4/lib/Google/Cache/File.php (added)
-
tags/1.4.4/lib/Google/Cache/Memcache.php (added)
-
tags/1.4.4/lib/Google/Cache/Null.php (added)
-
tags/1.4.4/lib/Google/Client.php (added)
-
tags/1.4.4/lib/Google/Collection.php (added)
-
tags/1.4.4/lib/Google/Config.php (added)
-
tags/1.4.4/lib/Google/Exception.php (added)
-
tags/1.4.4/lib/Google/Http (added)
-
tags/1.4.4/lib/Google/Http/Batch.php (added)
-
tags/1.4.4/lib/Google/Http/CacheParser.php (added)
-
tags/1.4.4/lib/Google/Http/MediaFileUpload.php (added)
-
tags/1.4.4/lib/Google/Http/REST.php (added)
-
tags/1.4.4/lib/Google/Http/Request.php (added)
-
tags/1.4.4/lib/Google/IO (added)
-
tags/1.4.4/lib/Google/IO/Abstract.php (added)
-
tags/1.4.4/lib/Google/IO/Curl.php (added)
-
tags/1.4.4/lib/Google/IO/Exception.php (added)
-
tags/1.4.4/lib/Google/IO/Stream.php (added)
-
tags/1.4.4/lib/Google/IO/cacerts.pem (added)
-
tags/1.4.4/lib/Google/Model.php (added)
-
tags/1.4.4/lib/Google/Service (added)
-
tags/1.4.4/lib/Google/Service.php (added)
-
tags/1.4.4/lib/Google/Service/Analytics.php (added)
-
tags/1.4.4/lib/Google/Service/Exception.php (added)
-
tags/1.4.4/lib/Google/Service/Resource.php (added)
-
tags/1.4.4/lib/Google/Signer (added)
-
tags/1.4.4/lib/Google/Signer/Abstract.php (added)
-
tags/1.4.4/lib/Google/Signer/P12.php (added)
-
tags/1.4.4/lib/Google/Utils (added)
-
tags/1.4.4/lib/Google/Utils.php (added)
-
tags/1.4.4/lib/Google/Utils/URITemplate.php (added)
-
tags/1.4.4/lib/Google/Verifier (added)
-
tags/1.4.4/lib/Google/Verifier/Abstract.php (added)
-
tags/1.4.4/lib/Google/Verifier/Pem.php (added)
-
tags/1.4.4/lib/Handlebars (added)
-
tags/1.4.4/lib/Handlebars/Autoloader.php (added)
-
tags/1.4.4/lib/Handlebars/Cache (added)
-
tags/1.4.4/lib/Handlebars/Cache.php (added)
-
tags/1.4.4/lib/Handlebars/Cache/APC.php (added)
-
tags/1.4.4/lib/Handlebars/Cache/Disk.php (added)
-
tags/1.4.4/lib/Handlebars/Cache/Dummy.php (added)
-
tags/1.4.4/lib/Handlebars/Context.php (added)
-
tags/1.4.4/lib/Handlebars/Engine.php (added)
-
tags/1.4.4/lib/Handlebars/Helpers.php (added)
-
tags/1.4.4/lib/Handlebars/Loader (added)
-
tags/1.4.4/lib/Handlebars/Loader.php (added)
-
tags/1.4.4/lib/Handlebars/Loader/FilesystemLoader.php (added)
-
tags/1.4.4/lib/Handlebars/Loader/StringLoader.php (added)
-
tags/1.4.4/lib/Handlebars/Parser.php (added)
-
tags/1.4.4/lib/Handlebars/String.php (added)
-
tags/1.4.4/lib/Handlebars/Template.php (added)
-
tags/1.4.4/lib/Handlebars/Tokenizer.php (added)
-
tags/1.4.4/lib/class-wp-list-table.php (added)
-
tags/1.4.4/lib/wp-settings-framework.php (added)
-
tags/1.4.4/readme.txt (added)
-
tags/1.4.4/settings (added)
-
tags/1.4.4/settings/smt-gapi.php (added)
-
tags/1.4.4/settings/smt-general.php (added)
-
tags/1.4.4/smt-dashboard-debug.php (added)
-
tags/1.4.4/smt-dashboard.php (added)
-
tags/1.4.4/smt-export.php (added)
-
tags/1.4.4/social-metrics-tracker.php (added)
-
tags/1.4.4/templates (added)
-
tags/1.4.4/templates/example.handlebars (added)
-
tags/1.4.4/templates/settings-nav.handlebars (added)
-
tags/1.4.4/templates/settings-test.handlebars (added)
-
tags/1.4.4/templates/settings-urls.handlebars (added)
-
tags/1.4.4/templates/stat-details.handlebars (added)
-
tags/1.4.4/uninstall.php (added)
-
trunk/SocialMetricsSettings.class.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/social-metrics-tracker.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-metrics-tracker/trunk/SocialMetricsSettings.class.php
r1103583 r1104324 13 13 add_action( 'admin_menu', array(&$this, 'admin_menu'), 99 ); 14 14 15 $section = (isset($_REQUEST['section'])) ? $_REQUEST['section'] : false; 16 switch ($section) { 17 case 'gapi': 18 19 $this->section = 'gapi'; 20 21 $smt->updater->setupDataSources(); 22 $this->gapi = $smt->updater->GoogleAnalyticsUpdater; 23 24 if (isset($_GET['go_to_step']) && $_GET['go_to_step']) $this->gapi->go_to_step($_GET['go_to_step']); 25 26 break; 27 28 case 'urls': 29 if (count($_POST) > 0) { 30 $this->process_urls_form(); 31 } 32 33 $this->section = 'urls'; 34 break; 35 36 case 'test': 37 38 $this->section = 'test'; 39 break; 40 41 default: 42 if (count($_POST) > 0) { 43 $this->process_general_form(); 44 } 45 46 $this->section = 'general'; 47 $this->wpsf = new WordPressSettingsFramework( plugin_dir_path( __FILE__ ) .'settings/smt-'.$this->section.'.php', 'smt' ); 48 break; 49 } 50 15 $pages = array('social-metrics-tracker', 'social-metrics-tracker-export', 'social-metrics-tracker-settings'); 16 17 if (isset($_REQUEST['page']) && in_array($_REQUEST['page'], $pages)) { 18 $this->section = (isset($_REQUEST['section'])) ? $_REQUEST['section'] : 'general'; 19 $this->wpsf = new WordPressSettingsFramework( plugin_dir_path( __FILE__ ) .'settings/smt-'.$this->section.'.php', 'smt' ); 20 } 21 51 22 } 52 23 … … 93 64 94 65 95 function render_settings_page() { ?> 66 function render_settings_page() { 67 68 switch ($this->section) { 69 case 'gapi': 70 $this->smt->updater->setupDataSources(); 71 $this->gapi = $this->smt->updater->GoogleAnalyticsUpdater; 72 73 if (isset($_GET['go_to_step']) && $_GET['go_to_step']) $this->gapi->go_to_step($_GET['go_to_step']); 74 75 break; 76 77 case 'urls': 78 if (count($_POST) > 0) { 79 $this->process_urls_form(); 80 } 81 82 break; 83 84 case 'test': 85 break; 86 87 default: 88 if (count($_POST) > 0) { 89 $this->process_general_form(); 90 } 91 92 break; 93 } 94 95 ?> 96 96 <div class="wrap"> 97 97 <h2>Social Metrics Tracker Configuration</h2> -
social-metrics-tracker/trunk/readme.txt
r1103583 r1104324 5 5 Requires at least: 3.5 6 6 Tested up to: 4.1.1 7 Stable tag: 1.4. 37 Stable tag: 1.4.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 96 96 97 97 == Changelog == 98 99 = 1.4.4 = 100 * Fixed a PHP warning caused by the plugin 98 101 99 102 = 1.4.3 = … … 185 188 == Upgrade Notice == 186 189 190 = 1.4.4 = 191 Minor bug fix 192 187 193 = 1.4.3 = 188 194 Bug fixes -
social-metrics-tracker/trunk/social-metrics-tracker.php
r1103583 r1104324 4 4 Plugin URI: https://github.com/ChapmanU/wp-social-metrics-tracker 5 5 Description: Collect and display social network shares, likes, tweets, and view counts of posts. 6 Version: 1.4. 36 Version: 1.4.4 7 7 Author: Ben Cole, Chapman University 8 8 Author URI: http://www.bencole.net … … 39 39 class SocialMetricsTracker { 40 40 41 public $version = '1.4. 3'; // for db upgrade comparison41 public $version = '1.4.4'; // for db upgrade comparison 42 42 public $updater; 43 43 public $options; … … 325 325 ***************************************************/ 326 326 public function merge_smt_options($options) { 327 if (!is_array($options)) return false; 327 328 $this->options = array_merge($this->options, $options); 328 329 return $this->save_smt_options();
Note: See TracChangeset
for help on using the changeset viewer.