Plugin Directory

Changeset 908972


Ignore:
Timestamp:
05/06/2014 01:55:39 PM (12 years ago)
Author:
VaultDweller
Message:

leyka 2.1.1

Location:
leyka/trunk
Files:
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • leyka/trunk/README.txt

    r906545 r908972  
    66Requires at least: 3.6.1
    77Tested up to: 3.9
    8 Stable tag: 2.1
     8Stable tag: 2.1.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666
    6767== Changelog ==
     68
     69= 2.1.1 =
     70* Fix: Permalink problem after activation on some installs
    6871
    6972= 2.1 =
  • leyka/trunk/gateways/chronopay/leyka-class-chronopay-gateway.php

    r906545 r908972  
    337337}
    338338
    339 //add_action('leyka_add_gateway', function(){
    340 leyka()->add_gateway(Leyka_Chronopay_Gateway::get_instance()); 
    341 //}, 11);
     339add_action('leyka_init_actions', function(){
     340    leyka()->add_gateway(Leyka_Chronopay_Gateway::get_instance());
     341}, 11);
  • leyka/trunk/gateways/quittance/leyka-class-quittance-gateway.php

    r906545 r908972  
    199199}
    200200
    201 //add_action('leyka_add_gateway', function(){
    202 leyka()->add_gateway(Leyka_Quittance_Gateway::get_instance());
    203 //}, 12);
     201add_action('leyka_init_actions', function(){
     202    leyka()->add_gateway(Leyka_Quittance_Gateway::get_instance());
     203}, 35);
  • leyka/trunk/gateways/text/leyka-class-text-gateway.php

    r906545 r908972  
    163163}
    164164
    165 leyka()->add_gateway(Leyka_Text_Gateway::get_instance());
     165add_action('leyka_init_actions', function(){
     166    leyka()->add_gateway(Leyka_Text_Gateway::get_instance());
     167}, 40);
  • leyka/trunk/gateways/yandex/leyka-class-yandex-gateway.php

    r906545 r908972  
    550550
    551551
    552 //add_action('leyka_add_gateway', function(){
    553 leyka()->add_gateway(Leyka_Yandex_Gateway::get_instance());
    554 //});
     552add_action('leyka_init_actions', function(){
     553    leyka()->add_gateway(Leyka_Yandex_Gateway::get_instance());
     554}, 20);
  • leyka/trunk/gateways/yandex_phyz/leyka-class-yandex_phyz-gateway.php

    r906545 r908972  
    399399}
    400400
    401 leyka()->add_gateway(Leyka_Yandex_phyz_Gateway::get_instance());
    402401
    403402function error_log_yandex_phyz($string) {
     
    406405#   error_log($string, 3, $log_file);
    407406}
     407
     408add_action('leyka_init_actions', function(){
     409    leyka()->add_gateway(Leyka_Yandex_phyz_Gateway::get_instance());
     410}, 25);
  • leyka/trunk/leyka.php

    r906545 r908972  
    44 * Plugin URI:  http://leyka.te-st.ru/
    55 * Description: The donations management system for your WP site.
    6  * Version:     2.1
     6 * Version:     2.1.1
    77 * Author:      Lev Zvyagincev aka Ahaenor
    88 * Author URI:  ahaenor@gmail.com
     
    9292
    9393// Init:
    94 leyka();
     94add_action('setup_theme', 'leyka_init', 2);
     95function leyka_init(){
     96    leyka();
     97    do_action('leyka_init_actions');   
     98}
    9599
    96100//echo '<pre>'.print_r(leyka_get_pm_list(), TRUE).'</pre>';
Note: See TracChangeset for help on using the changeset viewer.