Plugin Directory

Changeset 2225310


Ignore:
Timestamp:
01/10/2020 10:27:25 AM (6 years ago)
Author:
socialrocket
Message:

Version 1.2.6 update

Location:
social-rocket/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • social-rocket/trunk/includes/class-social-rocket-background-process.php

    r2224460 r2225310  
    466466        $lock_duration = apply_filters( $this->identifier . '_queue_lock_time', $lock_duration );
    467467
    468         $pid = getmypid();
    469         if ( $pid === false ) {
     468        $pid = false;
     469        if ( function_exists( 'getmypid' ) ) { // some shitty shared hosts disable gitmypid() for no good reason
     470            $pid = getmypid();
     471        }
     472        if ( ! $pid ) {
    470473            $pid = 'unknown';
    471474        }
  • social-rocket/trunk/readme.txt

    r2224460 r2225310  
    66Tested up to: 5.3
    77Requires PHP: 5.5
    8 Stable tag: 1.2.5
     8Stable tag: 1.2.6
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8383
    8484== Changelog ==
     85= 1.2.6 =
     86* FIX: add check if function getmypid() exists. (We use the PHP function getmypid as part of checking whether our background process is still running or not. Apparently certain shared hosts disable getmypid, so we can't rely on this function being available to us.)
     87
    8588= 1.2.5 =
    86 * FIX: issues with archives pages when display type set to "item"
     89* FIX: issues with archives pages when display type set to "item".
    8790* UPDATE: add compatibility for Tasty Recipes plugin.
    8891* UPDATE: add 8080 to list of accepted ports when determining URLs.
  • social-rocket/trunk/social-rocket.php

    r2224460 r2225310  
    33 * Plugin Name: Social Rocket
    44 * Description: Social Sharing... to the Moon!
    5  * Version: 1.2.5
     5 * Version: 1.2.6
    66 * Author: Social Rocket
    77 * Author URI: http://wpsocialrocket.com/
     
    1717}
    1818
    19 define( 'SOCIAL_ROCKET_VERSION', '1.2.5' );
     19define( 'SOCIAL_ROCKET_VERSION', '1.2.6' );
    2020define( 'SOCIAL_ROCKET_DBVERSION', '4' );
    2121define( 'SOCIAL_ROCKET_PATH', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.