Plugin Directory

Changeset 1237314


Ignore:
Timestamp:
09/03/2015 01:57:41 PM (10 years ago)
Author:
rleon.uy
Message:

Updated plugin to 1.1
Added PHP version check
Updated to PHP7 constructors

Location:
cyclos/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cyclos/trunk/cyclos-public.php

    r1111214 r1237314  
    3636    // constructor
    3737    function CyclosPlugin() {
    38         parent::WP_Widget(false, $name = __('Cyclos', 'wp_widget_plugin') );
     38         parent::__construct(false, $name = __('Cyclos', 'wp_widget_plugin') );
    3939    }
    4040
  • cyclos/trunk/cyclos.php

    r1111214 r1237314  
    3232defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
    3333
     34if(version_compare(PHP_VERSION, '5.3.0') < 0) {
     35    exit('You need PHP version at least <strong> 5.3.0 </strong> to run this plugin. You are currently using PHP version <strong>' . PHP_VERSION . '.</strong>');   
     36}
     37
    3438include_once 'cyclos-common.php';
    3539include_once 'cyclos-admin.php';
  • cyclos/trunk/readme.txt

    r1111241 r1237314  
    11=== Cyclos ===
    2 Contributors: Cyclos, luisfpg
     2Contributors: Cyclos, luisfpg, rleon.uy
    33Tags: Cyclos, Cyclos login, Banking, Payment, Barter, Remittances, Micro Finance, Complementary Currency, Mobile Money
    44Donate link: http://www.cyclos.org/contributors
    5 Requires at least: 4.0
    6 Tested up to: 4.1.1
    7 Stable tag: 1.0
     5Requires at least: 4.3
     6Tested up to: 4.3
     7Stable tag: 1.1
    88License: GPLv2
     9Minimum PHP: 5.3
    910
    1011This plugin enables you to easily add a Cyclos login form to your wordpress website.
     
    3435
    3536== Changelog ==
    36 This is the first version we published of the plugin.
     37We updated the PHP4 style constructors in WordPress (see https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/)
     38and therefore Wordpress version 4.3 (or higher) is required. If you wish to run the plugin on an older version of wordpress or a php version 5.2 or below please use version 1.0 of our plugin.
Note: See TracChangeset for help on using the changeset viewer.