Plugin Directory

Changeset 1699050


Ignore:
Timestamp:
07/19/2017 03:49:10 PM (9 years ago)
Author:
priberam
Message:

Compatibility with versions of php prior to 5.4.

Location:
flip
Files:
23 added
2 edited

Legend:

Unmodified
Added
Removed
  • flip/trunk/flip.php

    r1665320 r1699050  
    44 * Plugin URI: https://www.flip.pt/Produtos/Plugin-do-FLiP-para-WordPress
    55 * Description: Portuguese spell checker, grammar checker and style checker, with or without the Spelling Reform of 1990.
    6  * Version: 1.5.6
     6 * Version: 1.5.7
    77 * Author: Priberam
    88 * Author URI: http://www.priberam.pt
     
    227227    function flip_add_js_scripts($settings) {
    228228        $options = get_option('flip_settings', $this->default_settings);
    229         $mergeoptions = [];
     229        $mergeoptions = array();
    230230        foreach ($this->default_settings as $key => $value) {
    231231            if (is_string($value))
     
    315315                        oReq.open("GET", "<?php echo $url ?>");
    316316                        oReq.setRequestHeader('X-Priberam-auth-key', key);
    317                         oReq.timeout = 1000;
     317                        oReq.timeout = 10000;
    318318                        oReq.addEventListener("load", function(value) {
    319319                            if (value.target.status != 200) {
  • flip/trunk/readme.txt

    r1665320 r1699050  
    44Requires at least: 4.3
    55Tested up to: 4.7
    6 Stable tag: 1.5.6
     6Stable tag: 1.5.7
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3636
    3737== Changelog ==
     38= 1.5.7 =
     39* Compatibility with versions of php prior to 5.4.
     40
    3841= 1.5.6 =
    3942* Minor fixes
     
    5962
    6063== Upgrade Notice ==
     64= 1.5.7 =
     65* Compatibility with versions of php prior to 5.4.
     66
    6167= 1.5.6 =
    6268* Minor fixes
Note: See TracChangeset for help on using the changeset viewer.