Changeset 1310197
- Timestamp:
- 12/16/2015 05:36:10 PM (10 years ago)
- Location:
- mybb-cross-poster/trunk
- Files:
-
- 2 edited
-
classes/MyBBXPCrossPoster.php (modified) (3 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mybb-cross-poster/trunk/classes/MyBBXPCrossPoster.php
r1282757 r1310197 160 160 'posthash' => md5(uniqid(mt_rand(), true))); 161 161 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)); 163 163 if (is_wp_error($response)) { 164 164 $this->messageHandler->http_error($url, $post_data, $response, __FILE__, __LINE__); … … 249 249 /*,'posthash' => $posthash*/); 250 250 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)); 252 252 if( is_wp_error($response ) ) { 253 253 $this->messageHandler->http_error($url, $post_data, $response, __FILE__, __LINE__); … … 291 291 'url' => $options['url']); 292 292 293 $response = wp_remote_post($url, array('body' => $post_data ));293 $response = wp_remote_post($url, array('body' => $post_data, 'timeout' => 20)); 294 294 if (is_wp_error($response)) { 295 295 $this->messageHandler->http_error($url, $post_data, $response, __FILE__, __LINE__); -
mybb-cross-poster/trunk/readme.txt
r1282818 r1310197 5 5 Requires at least: 3.5 6 6 Tested up to: 4.3.1 7 Stable tag: trunk7 Stable tag: 1.0.0 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 33 33 * 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). 34 34 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 39 35 == Installation == 40 36 … … 59 55 60 56 1. The Cross-Poster options page. 61 3. The sidebar widget settings. 62 3. The sidebar widget. 57 2. The sidebar widget. 63 58 64 59 == Changelog == 65 60 61 = 1.1 = 62 * Higher timout for the cross poster 63 66 64 = 1.0 = 67 68 65 * First release for Wordpress 4.3.1 and MyBB 1.8 69 66 * Updated to the new MyBB table structure. … … 71 68 72 69 == Upgrade Notice == 73 74 70 no upgrades, no upgrade notices
Note: See TracChangeset
for help on using the changeset viewer.