Plugin Directory

Changeset 1578037


Ignore:
Timestamp:
01/19/2017 02:34:26 PM (9 years ago)
Author:
fomo
Message:

Added support for ignoring products from notifications, PHP7 code compliance

Location:
fomo/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • fomo/trunk/phpseclib/Crypt/Base.php

    r1546006 r1578037  
    634634    function setPassword($password, $method = 'pbkdf2')
    635635    {
     636        $func_args = func_get_args();
    636637        $key = '';
    637638
    638639        switch ($method) {
    639640            default: // 'pbkdf2' or 'pbkdf1'
    640                 $func_args = func_get_args();
    641641
    642642                // Hash function
  • fomo/trunk/phpseclib/Crypt/Hash.php

    r1546006 r1578037  
    812812    function _add()
    813813    {
     814        $arguments = func_get_args();
    814815        static $mod;
    815816        if (!isset($mod)) {
     
    818819
    819820        $result = 0;
    820         $arguments = func_get_args();
    821821        foreach ($arguments as $argument) {
    822822            $result+= $argument < 0 ? ($argument & 0x7FFFFFFF) + 0x80000000 : $argument;
  • fomo/trunk/phpseclib/File/ASN1.php

    r1546006 r1578037  
    133133     * @access public
    134134     */
    135     function File_ASN1_Element($encoded)
     135    function __construct($encoded)
    136136    {
    137137        $this->element = $encoded;
  • fomo/trunk/readme.txt

    r1562764 r1578037  
    55Tags: social proof, notifications, orders, woocommerce
    66Requires at least: 4.4
    7 Tested up to: 4.7
     7Tested up to: 4.7.1
    88Stable tag: 4.7
    99License: proprietary
     
    102102== Changelog ==
    103103
     104= 1.0.12 =
     105* Added support for ignoring products from notifications, PHP7 code compliance
     106
    104107= 1.0.11 =
    105108* Fixed problem with not upgraded servers having problem connecting to our HTTPS endpoints
  • fomo/trunk/woocommerce-plugin-fomo.php

    r1562764 r1578037  
    44Plugin URI: https://www.usefomo.com
    55Description: Fomo displays recent orders on your WooCommerce storefront
    6 Version: 1.0.11
     6Version: 1.0.12
    77Author: fomo
    88Author URI: https://www.usefomo.com
     
    1616    $fomofwc_domain = 'https://notifyapp.io';
    1717    global $fomofwc_version;
    18     $fomofwc_version = '1.0.11';
     18    $fomofwc_version = '1.0.12';
    1919    $fomofwc_public_key = "-----BEGIN PUBLIC KEY-----
    2020MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwKXALE9j5lHEVt6Yj1hK
     
    246246                        'id' => $product_id,
    247247                        'product_image_url' => wp_get_attachment_url($product->get_image_id()),
    248                         'product_url' => $product->get_permalink()
     248                        'product_url' => $product->get_permalink(),
     249                        'product_attributes' => $product->get_attributes()
    249250                    ];
    250251                }
     
    292293                'id' => $product_id,
    293294                'product_image_url' => wp_get_attachment_url($product->get_image_id()),
    294                 'product_url' => $product->get_permalink()
     295                'product_url' => $product->get_permalink(),
     296                'product_attributes' => $product->get_attributes()
    295297            ];
    296298            return $result;
     
    371373                'id' => $product_id,
    372374                'product_image_url' => wp_get_attachment_url($product->get_image_id()),
    373                 'product_url' => $product->get_permalink()
     375                'product_url' => $product->get_permalink(),
     376                'product_attributes' => $product->get_attributes()
    374377            ];
    375378        }
Note: See TracChangeset for help on using the changeset viewer.