Plugin Directory

Changeset 1310197


Ignore:
Timestamp:
12/16/2015 05:36:10 PM (10 years ago)
Author:
gmmedia
Message:

First Update

Location:
mybb-cross-poster/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mybb-cross-poster/trunk/classes/MyBBXPCrossPoster.php

    r1282757 r1310197  
    160160                'posthash' => md5(uniqid(mt_rand(), true)));
    161161
    162             $response = wp_remote_post($url, array('body' => $post_data, 'cookies' => $cookies));
     162            $response = wp_remote_post($url, array('body' => $post_data, 'cookies' => $cookies, 'timeout' => 20));
    163163            if (is_wp_error($response)) {
    164164                $this->messageHandler->http_error($url, $post_data, $response, __FILE__, __LINE__);
     
    249249                    /*,'posthash' => $posthash*/);
    250250
    251                 $response = wp_remote_post($url, array('body' => $post_data, 'cookies' => $cookies));
     251                $response = wp_remote_post($url, array('body' => $post_data, 'cookies' => $cookies, 'timeoute' => 20));
    252252                if( is_wp_error($response ) ) {
    253253                    $this->messageHandler->http_error($url, $post_data, $response, __FILE__, __LINE__);
     
    291291            'url' => $options['url']);
    292292
    293         $response = wp_remote_post($url, array('body' => $post_data));
     293        $response = wp_remote_post($url, array('body' => $post_data, 'timeout' => 20));
    294294        if (is_wp_error($response)) {
    295295            $this->messageHandler->http_error($url, $post_data, $response, __FILE__, __LINE__);
  • mybb-cross-poster/trunk/readme.txt

    r1282818 r1310197  
    55Requires at least: 3.5
    66Tested up to: 4.3.1
    7 Stable tag: trunk
     7Stable tag: 1.0.0
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3333* Deleting a cross-post using your forum will cause the original post to behave as if it were never cross-posted (it can be cross-posted anew).
    3434
    35 The plugin is active on my [iPhone Community](http://iszene.com/)
    36 
    37 More infos at [j0e.org](http://j0e.org/mybb-cross-poster/)
    38 
    3935== Installation ==
    4036
     
    5955
    60561. The Cross-Poster options page.
    61 3. The sidebar widget settings.
    62 3. The sidebar widget.
     572. The sidebar widget.
    6358
    6459== Changelog ==
    6560
     61= 1.1 =
     62* Higher timout for the cross poster
     63
    6664= 1.0 =
    67 
    6865* First release for Wordpress 4.3.1 and MyBB 1.8
    6966* Updated to the new MyBB table structure.
     
    7168
    7269== Upgrade Notice ==
    73 
    7470no upgrades, no upgrade notices
Note: See TracChangeset for help on using the changeset viewer.