Plugin Directory

Changeset 2295567


Ignore:
Timestamp:
04/30/2020 05:17:19 PM (6 years ago)
Author:
deios
Message:

small changes for the price

Location:
live-stock-prices-for-wordpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • live-stock-prices-for-wordpress/trunk/eod-stock-prices-plugin.php

    r1931852 r2295567  
    55Plugin URI: https://eodhistoricaldata.com/knowledgebase/plugins
    66Description: The stock prices plugin allows you to use a widget and a shortcode to display the ticker data you want.
    7 Version: 1.1.2
     7Version: 1.1.5
    88Author: Eod Historical Data
    99Author URI: https://eodhistoricaldata.com
     
    194194            }
    195195
    196             $tickerData['evolution'] =  round($tickerData['open'] - $tickerData['close'],2);
     196            $tickerData['evolution'] =  round($tickerData['close'] - $tickerData['previousClose'],2);
    197197            $tickerData['evolutionClass'] = $tickerData['evolution'] > 0 ? 'plus' : ($tickerData['evolution'] == 0 ? 'equal' : 'minus');
    198198            $tickerData['evolutionSymbol'] = $tickerData['evolution'] > 0 ? '+' : '';
  • live-stock-prices-for-wordpress/trunk/readme.txt

    r1931852 r2295567  
    44Tags: stocks, stock markets, quote, ticker, securities
    55Requires at least: 4.0
    6 Tested up to: 4.8
    7 Stable tag: 1.1.2
     6Tested up to: 5.4
     7Stable tag: 1.1.5
    88Requires PHP: 5.4
    99License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.