Plugin Directory

Changeset 2972270


Ignore:
Timestamp:
09/27/2023 01:34:39 PM (2 years ago)
Author:
kp4coder
Message:

Fix: small errors

Location:
sync-post-with-other-site/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sync-post-with-other-site/trunk/SyncPostWithOtherSite.php

    r2760783 r2972270  
    44Plugin URI: https://syncpostwithothersite.in/
    55Description: Allows user to sync post with multiple websites.
    6 Version: 1.4.1
     6Version: 1.4.2
    77Author: kp4coder
    88Author URI: https://syncpostwithothersite.in/author/
     
    5252
    5353global $sps_version;
    54 $sps_version = '1.4.1';
     54$sps_version = '1.4.2';
    5555
    5656class SyncPostWithOtherSite {
  • sync-post-with-other-site/trunk/includes/sps_sync.class.php

    r2760783 r2972270  
    124124                $response = $this->sps_send_data_to( 'add_update_post', $args, $sps_website );
    125125
    126                 if( isset( $response['response']['code'] ) && $response['response']['code'] == 200 ) {
    127                     $other_site_post_id = $response['body'];
     126                if( is_array($response) ) {
     127                    if( isset( $response['response']['code'] ) && $response['response']['code'] == 200 ) {
     128                        $other_site_post_id = $response['body'];
     129                    }
    128130                }
    129131            }
  • sync-post-with-other-site/trunk/readme.txt

    r2760783 r2972270  
    44Tags: wp sync post, sync post content, sync post with multiple sites, post attachments, post content, post content sync, migrate post content, moving post data, synchronization post
    55Requires at least: 4.5
    6 Tested up to: 6.0.1
     6Tested up to: 6.3
    77Stable tag: 1.3
    88License: GPLv2 or later
     
    9393* Fix: Sync the corrent parent post.
    9494
     95= 1.4.2 - September 27, 2023 =
     96* Fix: small errors
    9597
    9698== Upgrade notice ==
Note: See TracChangeset for help on using the changeset viewer.