Changeset 2225310
- Timestamp:
- 01/10/2020 10:27:25 AM (6 years ago)
- Location:
- social-rocket/trunk
- Files:
-
- 3 edited
-
includes/class-social-rocket-background-process.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
social-rocket.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-rocket/trunk/includes/class-social-rocket-background-process.php
r2224460 r2225310 466 466 $lock_duration = apply_filters( $this->identifier . '_queue_lock_time', $lock_duration ); 467 467 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 ) { 470 473 $pid = 'unknown'; 471 474 } -
social-rocket/trunk/readme.txt
r2224460 r2225310 6 6 Tested up to: 5.3 7 7 Requires PHP: 5.5 8 Stable tag: 1.2. 58 Stable tag: 1.2.6 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 83 83 84 84 == 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 85 88 = 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". 87 90 * UPDATE: add compatibility for Tasty Recipes plugin. 88 91 * UPDATE: add 8080 to list of accepted ports when determining URLs. -
social-rocket/trunk/social-rocket.php
r2224460 r2225310 3 3 * Plugin Name: Social Rocket 4 4 * Description: Social Sharing... to the Moon! 5 * Version: 1.2. 55 * Version: 1.2.6 6 6 * Author: Social Rocket 7 7 * Author URI: http://wpsocialrocket.com/ … … 17 17 } 18 18 19 define( 'SOCIAL_ROCKET_VERSION', '1.2. 5' );19 define( 'SOCIAL_ROCKET_VERSION', '1.2.6' ); 20 20 define( 'SOCIAL_ROCKET_DBVERSION', '4' ); 21 21 define( 'SOCIAL_ROCKET_PATH', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.