Plugin Directory

Changeset 1859195


Ignore:
Timestamp:
04/16/2018 03:57:29 PM (8 years ago)
Author:
chaoxifer
Message:

Fix an integration problem with Tistory OpenAPI; due to server configuration change.

Location:
tistorywriter/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tistorywriter/trunk/assets/pages/settingAdmin.php

    r1846025 r1859195  
    147147                        $apiMgr = TistoryWriter::getManager(FEATURE_KEY\TISTORY_API);
    148148
    149                         if (method_exists('\\tistory_writer\\Logger', 'log')) {
    150                             Logger::log("access token: " . $access_token);
    151                         }
    152                        
    153149                        if (isset($access_token) && $apiMgr->checkAccessToken()) {
    154150                            echo $access_token;
  • tistorywriter/trunk/features/api_manager.php

    r1846025 r1859195  
    3939            'access_token' => get_option(OPTION_KEY\ACCESS_TOKEN)
    4040        );
    41         $response = wp_remote_post($url, array(
     41        $response = wp_remote_request($url, array(
    4242            'body' => $data,
    4343            'output' => 'xml',
     
    5959            'access_token' => get_option(OPTION_KEY\ACCESS_TOKEN)
    6060        );
    61         $response = wp_remote_post($url, array(
     61        $response = wp_remote_request($url, array(
    6262            'body' => $data,
    6363            'output' => 'xml',
     
    7777            'targetUrl' => get_option(OPTION_KEY\BLOG_NAME),
    7878        );
    79         $response = wp_remote_post($url, array(
     79        $response = wp_remote_request($url, array(
    8080            'body' => $data,
    8181            'output' => 'xml',
     
    171171            'sort' => 'date',
    172172        );
    173         $response = wp_remote_post($url, array(
     173        $response = wp_remote_request($url, array(
    174174            'body' => $data,
    175175            'output' => 'xml',
     
    211211        );
    212212
    213         $response = wp_remote_post($url, array(
     213        $response = wp_remote_request($url, array(
    214214            'body' => $data,
    215215            'output' => 'xml',
     
    231231        );
    232232
    233         $response = wp_remote_post($url, array(
     233        $response = wp_remote_request($url, array(
    234234            'body' => $data,
    235235            'output' => 'xml',
  • tistorywriter/trunk/readme.txt

    r1847037 r1859195  
    44Tags: content, tistory, development, integration
    55Requires at least: 1.5
    6 Tested up to: 4.9.4
    7 Stable tag: 1.0
     6Tested up to: 4.1.1
     7Stable tag: 1.3
    88License: MIT License
    99License URI: https://mit-license.org/
     
    2222* 태그 설정
    2323* 댓글 허용 권한 설정
    24 
    25 문의가 있으신 분께서는 sukbeom.kim@gmail.com 으로 메일주시거나 github.com/seokbeomKim/TistoryWriter 주소로 이슈등록 해주시면 감사하겠습니다.
    2624
    2725== Installation ==
     
    4442
    4543== Changelog ==
     44= 1.1 =
     45* 티스토리 연동 문제 수정
     46
    4647= 1.0 =
    4748* 기본 기능 구현 및 최초 배포
Note: See TracChangeset for help on using the changeset viewer.