Plugin Directory

Changeset 989312


Ignore:
Timestamp:
09/14/2014 02:50:30 AM (11 years ago)
Author:
djtidau
Message:

1.1.4

Location:
sm2wp-google-minimal/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • sm2wp-google-minimal/trunk/classes/common.php

    r989017 r989312  
    11<?php
    2 const SM2WP_AUTH_URL = 'http://auth.sm2wp.com/';
    3 const SM2WP_UPDATE_URL = 'http://sm2wp.com/';
     2define('SM2WP_AUTH_URL', 'http://auth.sm2wp.com/');
     3define('SM2WP_UPDATE_URL', 'http://sm2wp.com/');
    44
    55if (get_option('timezone_string')) {
  • sm2wp-google-minimal/trunk/classes/google_plus.php

    r989017 r989312  
    126126            if (!$t) {
    127127              $t = rtrim(strip_tags(substr($this->_content, 0, strpos($this->_content, '<br />'))), '.');
     128            }
     129        } else {
     130            $c = $this->_annotation.$this->_content;
     131            $t = rtrim(strip_tags(substr($c, 0, strpos($c, '.'))), '.');
     132            if (!$t) {
     133              $t = rtrim(strip_tags(substr($c, 0, 80)), '.');
     134              $t = strlen($c) > 80 ? $t.'...' : $t;
    128135            }
    129136        }
     
    237244        $wp_filetype = wp_check_filetype_and_ext($file, $filename);
    238245        $file_info = getimagesize($file);
    239         if (key_exists($file_info['mime'], $extension_lookup)) {
     246        if (@key_exists($file_info['mime'], $extension_lookup)) {
    240247            rename($file, $file.$extension_lookup[$file_info['mime']]);
    241248            $file = $file.$extension_lookup[$file_info['mime']];
     
    390397        if (!$profiles)
    391398            $profiles = get_option('gfw_profiles', array());
    392         if (key_exists($id, $profiles))
     399        if (@key_exists($id, $profiles))
    393400            return SM2WP_GooglePlus_Library::create_from_array($profiles[$id]);
    394401        return;
     
    398405        if (!$profiles)
    399406            $profiles = get_option('gfw_profiles', array());
    400         if (key_exists($id, $profiles))
     407        if (@key_exists($id, $profiles))
    401408            unset($profiles[$id]);
    402409        update_option('gfw_profiles', $profiles);
     
    405412    public function save_profile() {
    406413        $profiles = get_option('gfw_profiles', array());
    407         if (key_exists($this->id.'-'.$this->profileId, $profiles) && trim($profiles[$this->id.'-'.$this->profileId]['name'])) return false;
     414        if (@key_exists($this->id.'-'.$this->profileId, $profiles) && trim($profiles[$this->id.'-'.$this->profileId]['name'])) return false;
    408415        $profiles[$this->id.'-'.$this->profileId] = $this->to_array();
    409416        update_option('gfw_profiles', $profiles);
  • sm2wp-google-minimal/trunk/readme.txt

    r989052 r989312  
    55Requires at least: 3.0.1
    66Tested up to: 4.0
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4949== Changelog ==
    5050
     51= 1.1.4 =
     52* PHP Compatibility fixes
     53* Error cleanup
     54* Fallback for titles without new lines (80 chars)
     55
    5156= 1.1.3 =
    5257* Help box for template tags
  • sm2wp-google-minimal/trunk/sm2wp.php

    r989089 r989312  
    44 * Plugin URI:      http://sm2wp.com
    55 * Description:     Import your Google+ Posts to your WordPress Blog
    6  * Version:         1.1.3
     6 * Version:         1.1.4
    77 * Author:          Daniel Treadwell
    88 * Author URI:      http://minimali.se
  • sm2wp-google-minimal/trunk/views/admin.php

    r989089 r989312  
    100100
    101101    <p class='pro-invitation'>
    102         SM2WP / Google+ / Complete supports <u>multiple profiles</u> and <u>G+ pages</u>, <u>deeper post history</u>, <u>filter imports by hashtags</u>, <u>feature images</u> and more!  <a href='http://sm2wp.com/'>Click here to upgrade</a>.
     102        Social Media 2 WordPress for Google+ Complete supports <u>multiple profiles</u> and <u>G+ pages</u>, <u>deeper post history</u>, <u>filter imports by hashtags</u>, <u>feature images</u> and more!  <a href='http://sm2wp.com/'>Click here to upgrade</a>.
    103103    </p>
    104104
Note: See TracChangeset for help on using the changeset viewer.