Plugin Directory

Changeset 1592486


Ignore:
Timestamp:
02/09/2017 01:09:27 PM (9 years ago)
Author:
sapeofficial
Message:

Version v0.02

Location:
saperu-integration
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • saperu-integration/trunk/readme.txt

    r1586338 r1592486  
    99Tested up to: 4.7
    1010Stable tag: trunk
    11 Version: 0.01
     11Version: 0.02
    1212Author: Sape.ru
    1313Author URI: https://www.sape.ru/
     
    8888v 0.01
    8989First versiov don't have upgrade
     90v 0.01
     91Fix Sape Articles Integration
    9092
    9193== Changelog ==
    9294=  0.01 =
    9395First version
     96=  0.02 =
     97Change SAPE_USER.php generation
  • saperu-integration/trunk/saperu-integration.php

    r1586338 r1592486  
    44Plugin URI: https://github.com/sape-ru/client-code-wordpress/releases
    55Description: Plugin for Sape.ru webmaster services integration
    6 Version: 0.01
     6Version: 0.02
    77Author: Sape.ru
    88Author URI: http://www.sape.ru/
     
    595595        if($SID){
    596596                $dir = self::_getSapePath() . DIRECTORY_SEPARATOR . 'sape.php';
    597                 $data = sprintf('<?php define(\'_SAPE_USER\', \'%s\');require_once(\'%s\');$sape = new SAPE_articles();$sape->process_request();', $SID, $dir);
     597                $data = sprintf('<?php define(\'_SAPE_USER\', \'%s\');require_once(\'%s\');$sape = new SAPE_articles();echo $sape->process_request();', $SID, $dir);
    598598                file_put_contents($_SERVER['DOCUMENT_ROOT'].'/'.$SID.'.php', $data);
    599599        }
Note: See TracChangeset for help on using the changeset viewer.