Plugin Directory

Changeset 1809299


Ignore:
Timestamp:
01/25/2018 12:51:37 PM (8 years ago)
Author:
augusto1995
Message:

We updated the plugin to be compatible with PHP 7.2.

Location:
cyclos/trunk
Files:
3 edited

Legend:

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

    r1361704 r1809299  
    276276            <h2>Cyclos Plugin Settings</h2>
    277277            <hr>
    278             <table> <?
     278            <table> <?php
    279279            foreach (CyclosKey::getAll() as $k => $key) { ?>
    280280                <tr>
     
    283283                    <td>&nbsp; <i>e.g. <?= $key->defaultValue ?></i></td>
    284284                </tr>
    285         <?  } ?>
     285        <?php  } ?>
    286286            </table>
    287287            <hr/>
  • cyclos/trunk/cyclos-public.php

    r1253556 r1809299  
    3030
    3131// Create the widget to display the login form
    32 add_action('widgets_init', create_function('', 'return register_widget("CyclosPlugin");'));
     32add_action('widgets_init',  function(){return register_widget("CyclosPlugin");});
    3333class CyclosPlugin extends WP_Widget {
    3434
     
    330330    try {
    331331        $id = $captchaService->generate();
    332         $content = $captchaService->readImage($id, null);
     332        $content = $captchaService->readImage($id, null, null);
    333333    } catch (Cyclos\ConnectionException $e) {
    334334        $errorMessage = $t->errorConnection;
  • cyclos/trunk/readme.txt

    r1535025 r1809299  
    44Donate link: http://www.cyclos.org/contributors
    55Requires at least: 4.3
    6 Tested up to: 4.3.1
    7 Stable tag: 1.1.4
     6Tested up to: 4.9.2
     7Stable tag: 1.1.5
    88License: GPLv2
    99
Note: See TracChangeset for help on using the changeset viewer.