Plugin Directory

Changeset 1335247


Ignore:
Timestamp:
01/25/2016 04:21:29 AM (10 years ago)
Author:
bcole808
Message:

Release of 1.6.4

Location:
social-metrics-tracker
Files:
107 added
4 edited

Legend:

Unmodified
Added
Removed
  • social-metrics-tracker/trunk/MetricsUpdater.class.php

    r1296451 r1335247  
    486486        foreach ($alt_data as $key => $val) {
    487487
     488            $url = '';
     489
    488490            // Check data type
    489491            if (is_string($val)) {
    490492                $url = $val;
    491             } else if (array_key_exists('permalink', $val)) {
     493            } else if (is_array($val) && array_key_exists('permalink', $val)) {
    492494                $url = $val['permalink'];
    493495            } else {
     
    781783        ***************************************************/
    782784        if ($verbose) {
    783             $percent = round(($offset + $q->post_count) / $q->found_posts * 100);
     785            $percent = round(($offset + $q->post_count) / max(1, $q->found_posts * 100));
    784786            print('<div style="width: 100%; border:1px solid #CCC; background:#EEE; border-radius: 6px; padding:20px; margin: 15px 0; box-sizing:border-box;">');
    785787            print('<h1 style="margin-top:0;">Scheduled '.($offset + $q->post_count).' out of '.$q->found_posts.' posts.</h1>');
  • social-metrics-tracker/trunk/SocialMetricsSettings.class.php

    r1202486 r1335247  
    488488                <li>Create a new project</li>
    489489                <li>Enable the Google Analytics API for the project</li>
    490                 <li>Under <b>APIs & auth > Credentials</b> click "Create new Client ID" and select "Web Appplication"</li>
     490                <li>Under <b>Credentials</b>, create a new credential and set it up as an "OAuth Client ID" for a "Web Appplication"</li>
    491491                <li>Add the following authorized redirect URI: <input value="<?php echo $this->gapi->redirect_uri; ?>" onClick="this.select();" style="min-width:300px; background:white; cursor:text; font-size:11px" readonly></li>
    492492                <li>Enter the information you receive below: </li>
  • social-metrics-tracker/trunk/readme.txt

    r1308742 r1335247  
    44Tags: admin, dashboard, social, social media, facebook, twitter, metrics, analytics, tracking, stats, engagement, share, sharing, shares, likes, tweets
    55Requires at least: 3.5
    6 Tested up to: 4.4.0
    7 Stable tag: 1.6.3
     6Tested up to: 4.4.1
     7Stable tag: 1.6.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108
    109109== Changelog ==
     110
     111= 1.6.4 =
     112* Minor bug fixes: resolved some PHP errors and warnings
     113
    110114= 1.6.3 =
    111115* Remove Twitter API because it has been officially discontinued by Twitter.
     
    240244== Upgrade Notice ==
    241245
     246= 1.6.4 =
     247Minor bug fixes
     248
    242249= 1.6.3 =
    243250Remove Twitter API because it has been officially discontinued by Twitter.
  • social-metrics-tracker/trunk/social-metrics-tracker.php

    r1296451 r1335247  
    3939class SocialMetricsTracker {
    4040
    41     public $version = '1.6.3'; // for db upgrade comparison
     41    public $version = '1.6.4'; // for db upgrade comparison
    4242    public $updater;
    4343    public $options;
     
    5858            add_action('plugins_loaded', array($this, 'version_check'));
    5959            add_action('wp_dashboard_setup', array($this, 'dashboard_setup'));
     60
     61            new socialMetricsSettings($this);
    6062        }
    6163
     
    224226        add_submenu_page('social-metrics-tracker', 'Data Export Tool', 'Export Data', $visibility, 'social-metrics-tracker-export',  array($this, 'render_view_export'));
    225227
    226         new socialMetricsSettings($this);
    227 
    228     } // end adminMenuSetup()
    229 
    230     public function networkAdminMenuSetup() {
    231 
    232         new socialMetricsSettings($this);
    233 
    234228    } // end adminMenuSetup()
    235229
Note: See TracChangeset for help on using the changeset viewer.