Plugin Directory

Changeset 1216607


Ignore:
Timestamp:
08/09/2015 10:37:10 PM (11 years ago)
Author:
iterative
Message:

Fixing short array syntax for earlier PHP.

Location:
iterative-headlines/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • iterative-headlines/trunk/headlines.php

    r1197590 r1216607  
    55Description: Test your post titles and headlines with state-of-the-art artificial intelligence.
    66Author: Iterative Research Inc.
    7 Version: 1.4
     7Version: 1.4.1
    88Author URI: mailto:joe@iterative.ca
    99License: GPLv2+
  • iterative-headlines/trunk/headlines_mac.php

    r1186567 r1216607  
    5252    if($hash === false)
    5353       throw new RuntimeException("Cowardly refusing to return ciphertext when hash calculation fails. Check that the appropriate HMAC algorithm is available.");
    54     return ['message' => $ciphertext, 'hash' => $hash];
     54    return array('message' => $ciphertext, 'hash' => $hash);
    5555  }
    5656  /*
  • iterative-headlines/trunk/readme.txt

    r1197588 r1216607  
    33Tags: title, testing, experiment, headline, viral
    44Requires at least: 3.0.1
    5 Tested up to: 4.2.2
    6 Stable tag: 1.4
     5Tested up to: 4.3
     6Stable tag: 1.4.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.