Plugin Directory

Changeset 1266935


Ignore:
Timestamp:
10/15/2015 09:44:31 PM (10 years ago)
Author:
GZep
Message:

Some code fixes

Location:
yandex-mail/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • yandex-mail/trunk/languages/yandex-mail-ru_RU.po

    r1200442 r1266935  
    22msgstr ""
    33"Project-Id-Version: Yandex Mail\n"
    4 "POT-Creation-Date: 2015-07-16 22:57+0300\n"
    5 "PO-Revision-Date: 2015-07-16 22:57+0300\n"
     4"POT-Creation-Date: 2015-10-16 00:18+0300\n"
     5"PO-Revision-Date: 2015-10-16 00:18+0300\n"
    66"Last-Translator: Gaiaz Iusipov <[email protected]>\n"
    77"Language-Team: \n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 1.8.2\n"
     12"X-Generator: Poedit 1.8.5\n"
    1313"X-Poedit-Basepath: ..\n"
    1414"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
     
    1717"X-Poedit-SearchPath-0: .\n"
    1818
    19 #: options.php:28 options.php:49
     19#: options.php:27 options.php:48
    2020msgid "Yandex Mail"
    2121msgstr "Яндекс почта"
    2222
    23 #: options.php:36
     23#: options.php:35
    2424msgid "From Name"
    2525msgstr "От кого"
    2626
    27 #: options.php:38
     27#: options.php:37
    2828msgid "Login"
    2929msgstr "Логин"
    3030
    31 #: options.php:40
     31#: options.php:39
    3232msgid "Password"
    3333msgstr "Пароль"
    3434
    35 #: options.php:42
     35#: options.php:41
    3636msgid "Send yourself a copy"
    3737msgstr "Отправлять копию себе"
    3838
    39 #: options.php:72
     39#: options.php:71
    4040msgid "The mod_ssl module is required"
    4141msgstr "Для работы требуется mod_ssl"
     42
     43#: options.php:81
     44msgid "Settings"
     45msgstr "Настройки"
    4246
    4347#~ msgid "Test Email"
  • yandex-mail/trunk/options.php

    r1200442 r1266935  
    1313        add_action('admin_menu', [$this, 'admin_menu']);
    1414        add_action('admin_init', [$this, 'admin_init']);
    15         if (!extension_loaded('openssl')) {
    16             add_action('admin_notices', [$this, 'ssl_required_notice']);
    17         }
     15        extension_loaded('openssl') or add_action('admin_notices', [$this, 'ssl_required_notice']);
     16        add_filter('plugin_action_links', [$this, 'action_links'],  10, 4);
    1817    }
    1918
     
    7473    }
    7574
     75    public function action_links($actions, $plugin_file)
     76    {
     77        if (false === strpos($plugin_file, self::DOMAIN)) {
     78            return $actions;
     79        }
     80        $settings = '<a href="' . esc_url(menu_page_url('yandex-mail', false))
     81            . '">' . __('Settings', self::DOMAIN) . '</a>';
     82        array_unshift($actions, $settings);
     83        return $actions;
     84    }
     85
    7686}
    7787
  • yandex-mail/trunk/readme.txt

    r1201549 r1266935  
    44Tags: yandex, mail, email, smtp
    55Requires at least: 4.0
    6 Tested up to: 4.2.2
     6Tested up to: 4.3.1
    77Stable tag: trunk
    88License: MIT
  • yandex-mail/trunk/yandex-mail.php

    r1200445 r1266935  
    55Plugin URI: http://gzep.ru/yandex-mail-wordpress-plugin/
    66Description: This plugin gives you the easiest way to send emails through the Yandex SMTP server instead of PHP mail().
    7 Version: 1.1
     7Version: 1.2
    88Author: Gaiaz Iusipov
    99Author URI: http://gzep.ru
Note: See TracChangeset for help on using the changeset viewer.