Plugin Directory

Changeset 1318156


Ignore:
Timestamp:
12/29/2015 09:16:56 PM (10 years ago)
Author:
kowack
Message:

update description

Location:
just-another-saperu-integration/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • just-another-saperu-integration/trunk/just-another-saperu-integration.php

    r1318143 r1318156  
    44Plugin URI: https://darx.net/projects/sape-api
    55Description: Integrate `Sape.ru` monetization to your site in two clicks.
    6 Version: 2.01
     6Version: 2.03
    77Author: kowack
    88Author URI: https://darx.net
     
    7777                        echo sprintf( __( 'The constant %s has been already defined!', 'sape-api' ), '<code>_SAPE_USER</code>' );
    7878                        echo ' ';
    79                         echo sprintf( __( 'Settings of the plugin %s is not used!', 'sape-api' ), '<code>Sape API</code>' );
     79                        echo sprintf( __( 'Settings of the plugin %s is not used!', 'sape-api' ), '<code>Just another Sape.ru integration</code>' );
    8080                        echo '</p></div>';
    8181                    } );
     
    143143
    144144        // show code on front page -- need to add site to sape system
    145         if (is_front_page()) {
     145        if ( is_front_page() ) {
    146146            add_action( 'wp_footer', array( &$this, '_sape_return_links' ), 1 );
    147147        }
     
    341341        include_once dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . 'rpc-client.php';
    342342
    343         $table        = new Sape_List_Table();
    344         $table->items = false; // get_transient( 'sape.get_sites_EXT' );
    345         $from_cache   = false;
     343        $table         = new Sape_List_Table();
     344        $table->items  = get_transient( 'sape.get_sites_EXT' );
     345        $from_cache    = false;
    346346        $login_success = false;
    347347        if ( $table->items === false ) {
     
    374374            if ( $ok ) {
    375375                $login_success = true;
    376                 $table->items = $rpc->getResponse();
     376                $table->items  = $rpc->getResponse();
    377377                if ( ! empty( $table->items ) ) {
    378378                    $ok = $rpc->query( 'sape.get_sites_links_count', 'OK' );
     
    386386                                $links_WAIT = $rpc->getResponse();
    387387                                foreach ( $table->items as &$item ) {
    388                                     $item['nof_OK'] = 0;
     388                                    $item['nof_OK']    = 0;
    389389                                    $item['nof_SLEEP'] = 0;
    390                                     $item['nof_WAIT'] = 0;
     390                                    $item['nof_WAIT']  = 0;
    391391                                    foreach ( $links_OK as $link ) {
    392392                                        if ( $item['id'] === $link['site_id'] ) {
  • just-another-saperu-integration/trunk/readme.txt

    r1318143 r1318156  
    55Requires at least: 3.5
    66Tested up to: 4.4
    7 Stable tag: 2.01
     7Stable tag: 2.03
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4848**[RUS]**
    4949
     50= Настройка плагина =
     51
     52Нет необходимости скачивать файлы и архивы или устанавливать что-либо вручную.
     53
     54Достаточно указать ваш идентификатор с системе `Sape`.
     55
     56Плагин всё сделает автоматически.
     57
    5058= Статистика =
    5159
    5260Возможность узнать статистику и прибыль по сайту из админ-панели Wordpress-а.
     61
    5362Достаточно указать логин и md5-хеш от пароля (для безопасности).
    5463
    55 = Настройка плагина =
     64= wptexturize =
    5665
    57 Нет необходимости скачивать файлы и архивы или устанавливать что-либо вручную.
    58 Достаточно указать ваш идентификатор с системе `Sape`.
    59 Плагин всё сделает автоматически.
     66Плагин отлично дружит с фильтром `wptexturize`.
    6067
    6168= Виджет =
     
    7683
    7784* `<?php echo do_shortcode('[sape]') ?>`
     85
     86= Продажа статей =
     87
     88В разработке.
     89
     90= Расширение функционала =
     91
     92Есть пожелания/идеи что добавить/изменить?
     93Пишите мне, с радостью отвечу.
     94Контакты внизу страницы на сайте
     95(darx.net)[https://darx.net/#contacts]
    7896
    7997= Плагин бесплатный ? =
Note: See TracChangeset for help on using the changeset viewer.