Plugin Directory

Changeset 826742

Timestamp:
12/21/2013 09:19:43 PM (11 years ago)
Author:
alexkingorg
Message:

version 3.8

Location:
social/trunk
Files:
3 added
20 edited

Legend:

Unmodified
Added
Removed
  • social/trunk/README.txt

    r735561 r826742  
    22Contributors: crowdfavorite, alexkingorg
    33Tags: comments, facebook, twitter, social, broadcast, import, integrate, integration
    4 Requires at least: 3.3
    5 Tested up to: 3.5.2
    6 Stable tag: 2.9.2
     4Requires at least: 3.
     5Tested up to: 3.
     6Stable tag: 2.
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    283283== Upgrade Notice ==
    284284
    285 = 2.9.1 =
    286 
    287 Fixes Facebook comment permalinks
    288 
    289 = 2.9 =
    290 
    291 This release adds a GUI option to enable/disable post types for social broadcasting, adds support for the new Facebook Pages threaded comments.
    292 
    293 Also included are bugfixes, expanded language support, and other minor improvements.  See the changelog for more detail.
     285= 2. =
     286* (new) Now requires WordPress 3.8 (due to threaded comments walker change in WP core)
     287* (new) WP 3.8 admin refresh compatibility
     288* (new) Japanese translation (thanks ToshiOshio)
     289* (fix) Work around changes in the Walker class in WP 3.8 so that nested comments appear as expected
     290* (fix) Remove underscores from CRON actions (thanks nddery)
     291* (fix) Work around MySQL bug #62077 (thanks DavidAnderson684)
     292* (fix) Compress images (thanks pathawks)
     293* (fix) use esc_url_raw() (thanks kanedo)
    294294
    295295== Changelog ==
     296
     297
     298
     299
     300
     301
     302
     303
     304
     305
    296306
    297307= 2.9.2 =
  • social/trunk/assets/admin.css

    r643119 r826742  
    6363}
    6464
     65
     66
     67
     68
     69
     70
    6571.social-accounts {
     72
    6673    margin: 20px 0 0;
    6774    max-width: 60em;
     
    8188
    8289.social-accounts ul li {
    83     background: #fff;
    8490    margin: 0;
    8591    padding: 0;
     
    265271
    266272.social-collapsible > .social-title a {
    267     background: #fff url(toggle.gif) no-repeat 0 0;
     273    background: #f url(toggle.gif) no-repeat 0 0;
    268274    display: -moz-inline-box; /* FF2 */
    269275    display: inline-block; /* Standard. IE8+, Saf, FF3+ */
     
    609615
    610616/* Interstitial */
     617
     618
     619
     620
    611621.social-broadcast-options section {
    612622    margin-bottom: 30px;
  • social/trunk/lib/social/controller/cron.php

    r643119 r826742  
    4242        if ($semaphore->lock()) {
    4343            Social::log('Running social_cron_15_action.');
    44             do_action('social_cron_15');
     44            do_action('social15');
    4545            $semaphore->unlock();
    4646        }
     
    5858            wp_die('Oops, invalid API key.');
    5959        }
    60        
     60
    6161        $crons = _get_cron_array();
    6262        $social_crons = array(
  • social/trunk/lib/social/controller/settings.php

    r723283 r826742  
    6565
    6666                // Unschedule the CRONs
    67                 if ($this->request->post('social_cron') != '1' and ($timestamp = wp_next_scheduled('social_cron_15_init')) !== false) {
    68                     wp_unschedule_event($timestamp, 'social_cron_15_init');
     67                if ($this->request->post('social_cron') != '1' and ($timestamp = wp_next_scheduled('socialinit')) !== false) {
     68                    wp_unschedule_event($timestamp, 'socialinit');
    6969                }
    7070            }
  • social/trunk/lib/social/semaphore.php

    r471325 r826742  
    163163
    164164        $current_time = current_time('mysql', 1);
     165
    165166        $affected = $wpdb->query($wpdb->prepare("
    166167            UPDATE $wpdb->options
    167168               SET option_value = %s
    168169             WHERE option_name = 'social_last_lock_time'
    169                AND option_value <= DATE_SUB(%s, INTERVAL 30 MINUTE)
    170         ", $current_time, $current_time));
     170               AND option_value <=
     171        ", $current_time, $_time));
    171172
    172173        if ($affected == '1') {
  • social/trunk/lib/social/service.php

    r735561 r826742  
    401401                    }
    402402                    $url = apply_filters('social_broadcast_permalink', $url, $post, $this);
    403                     $content = esc_url($url);
     403                    $content = esc_url($url);
    404404                    break;
    405405                case '{title}':
     
    409409                    $content = do_shortcode($post->post_content);
    410410                    $content = htmlspecialchars_decode(strip_tags($content));
     411
    411412                    break;
    412413                case '{author}':
  • social/trunk/lib/social/walker/comment.php

    r471325 r826742  
    2323            break;
    2424            case 'ol':
    25                 echo "<ol class='social-children'>\n";
     25                "<ol class='social-children'>\n";
    2626            break;
    2727            default:
    2828            case 'ul':
    29                 echo "<ul class='social-children'>\n";
     29                "<ul class='social-children'>\n";
    3030            break;
    3131        }
     
    4747            break;
    4848            case 'ol':
    49                 echo "</ol>\n";
     49                "</ol>\n";
    5050            break;
    5151            default:
    5252            case 'ul':
    53                 echo "</ul>\n";
     53                "</ul>\n";
    5454            break;
    5555        }
    5656
    57         echo "</li>\n";
     57        "</li>\n";
    5858    }
    5959
  • social/trunk/social.php

    r735561 r826742  
    44Plugin URI: http://mailchimp.com/social-plugin-for-wordpress/
    55Description: Broadcast newly published posts and pull in discussions using integrations with Twitter and Facebook. Brought to you by <a href="http://mailchimp.com">MailChimp</a>.
    6 Version: 2.9.2
     6Version: 2.
    77Author: Crowd Favorite
    88Author URI: http://crowdfavorite.com/
     
    2626     * @var  string  version number
    2727     */
    28     public static $version = '2.9.2';
     28    public static $version = '2.';
    2929
    3030    /**
     
    490490        // Schedule CRONs
    491491        if (Social::option('cron') == '1') {
    492             if (wp_next_scheduled('social_cron_15_init') === false) {
     492            if (wp_next_scheduled('socialinit') === false) {
    493493                Social::log('Adding Social 15 CRON schedule');
    494                 wp_schedule_event(time() + 900, 'every15min', 'social_cron_15_init');
     494                wp_schedule_event(time() + 900, 'every15min', 'socialinit');
    495495            }
    496496            wp_remote_get(
     
    12041204     * Sends a request to initialize CRON 15.
    12051205     *
    1206      * @wp-action  social_cron_15_init
     1206     * @wp-action  socialinit
    12071207     * @return void
    12081208     */
     
    12151215     * Runs the aggregation loop.
    12161216     *
    1217      * @wp-action  social_cron_15
     1217     * @wp-action  social15
    12181218     * @return void
    12191219     */
     
    23202320
    23212321// CRON Actions
    2322 add_action('social_cron_15_init', array($social, 'cron_15_init'));
     2322add_action('socialinit', array($social, 'cron_15_init'));
    23232323if (Social::option('aggregate_comments')) {
    2324     add_action('social_cron_15', array($social, 'run_aggregation'));
     2324    add_action('social15', array($social, 'run_aggregation'));
    23252325}
    23262326
  • social/trunk/views/wp-admin/options.php

    r723283 r826742  
    6868                <td>
    6969                    <input type="text" class="regular-text" name="social_broadcast_format" id="social_broadcast_format" value="<?php echo esc_attr(Social::option('broadcast_format')); ?>" />
    70                     <p class="description"><?php _e('How you would like posts to be formatted when broadcasting to Twitter or Facebook?', 'social'); ?></p>
     70                    <p class="description"><?php _e('How you would like posts to be formatted when broadcasting to Twitter or Facebook?', 'social'); ?></p>
    7171
    7272                    <div class="description">
     
    9393                <td>
    9494                    <input type="text" class="regular-text" name="social_comment_broadcast_format" id="social_comment_broadcast_format" value="<?php echo esc_attr(Social::option('comment_broadcast_format')); ?>" />
    95                     <p class="description"><?php _e('How you would like comments to be formatted when broadcasting to Twitter or Facebook.', 'social'); ?></p>
     95                    <p class="description"><?php _e('How you would like comments to be formatted when broadcasting to Twitter or Facebook.', 'social'); ?></p>
    9696
    9797                    <div class="description">
     
    110110                        </ul>
    111111                    </div>
    112                 </td>
    113             </tr>
    114             <tr>
    115                 <th><?php _e('Twitter @anywhere', 'social'); ?></th>
    116                 <td>
    117                     <p><?php printf(__('Social Version 2.6 has removed @anywhere support to comply with <a href="%s">Twitter\'s decision to sunset the service</a>.', 'social'), esc_url('https://dev.twitter.com/blog/sunsetting-anywhere')); ?></p>
    118                     <p><?php printf(__('If you would like to continue to use @anywhere, <a href="%s" target="_blank">there are many plugins available to accomodate</a>.', 'social'), esc_url('https://www.google.com/search?q=WordPress+@anywhere+plugin')); ?></p>
    119112                </td>
    120113            </tr>
     
    167160                                        </select>
    168161                                    </div>
    169                                     <p class="description" style="max-width: 450px;"><?php _e('Account for general (non account specific) Twitter API interaction.', 'social'); ?></p>
     162                                    <p class="description" style="max-width: 450px;"><?php _e('Account for general (non account specific) Twitter API interaction.', 'social'); ?></p>
    170163                                </li>
    171164                            </ul>
     
    180173                                        <input type="radio" name="social_cron" value="1" id="cron_auto" style="position:relative;top:-1px"<?php echo Social::option('cron') == '1' ? ' checked="checked"' : ''; ?> />
    181174                                        <?php _e('Automatic (WP Cron)', 'social'); ?>
    182                                         <span class="description"><?php _e('(easiest)', 'social'); ?></span>
     175                                        <span class="description"><?php _e('(easiest)', 'social'); ?></span>
    183176                                    </label>
    184177                                </li>
     
    188181                                        <?php _e('Manual <span class="description">(advanced)</span>', 'social'); ?>
    189182                                    </label>
    190                                     <p class="description"><?php _e('If you select this option, new tweets and Facebook posts will not be fetched unless you set up a system CRON job or fetch new items manually from the post edit screen. More help is also available in&nbsp;<code>README.txt</code>.', 'social'); ?></p>
     183                                    <p class="description"><?php _e('If you select this option, new tweets and Facebook posts will not be fetched unless you set up a system CRON job or fetch new items manually from the post edit screen. More help is also available in&nbsp;<code>README.txt</code>.', 'social'); ?></p>
    191184<?php
    192185if (Social::option('cron') === '0') {
  • social/trunk/views/wp-admin/parts/accounts.php

    r617518 r826742  
    9595}
    9696?>
    97 <p class="description" style="max-width: 450px;"><?php _e('Default accounts will auto-broadcast when you publish via XML-RPC or email.', 'social'); ?></p>
     97<p class="description" style="max-width: 450px;"><?php _e('Default accounts will auto-broadcast when you publish via XML-RPC or email.', 'social'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.