Plugin Directory

Changeset 2532172


Ignore:
Timestamp:
05/15/2021 11:53:01 AM (5 years ago)
Author:
tradepips
Message:

1.6 Maintenance release with removal of deprecated functions + PHP syntax tags/1.6

Location:
wp-tradingview/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • wp-tradingview/trunk/inc/admin_page.php

    r1598558 r2532172  
    542542        'class'       => 'tv-color-field',
    543543        'value'       => esc_attr($ideastream_data['borderColor']),
    544         'data-default-color' => esc_attr( $profile_data['borderColor'] ),
     544        'data-default-color' => esc_attr( $ideastream_data['borderColor'] ),
    545545        'option_name' => $ideastream_option_name
    546546      )
     
    666666        'height'   => '410',
    667667        'heightpop'=> 1,
     668        'autosize' => '',
    668669        'locale'   => 'en'
    669670    );
  • wp-tradingview/trunk/inc/class_chart.php

    r1559115 r2532172  
    442442    }
    443443}
    444 add_action('widgets_init', create_function('', register_widget(new widget_TradingView_chart)));
     444add_action('widgets_init', function(){return register_widget('widget_TradingView_chart');});
    445445?>
  • wp-tradingview/trunk/inc/class_chat.php

    r1559115 r2532172  
    214214    }
    215215}
    216 add_action('widgets_init', create_function('', register_widget(new widget_TradingView_chat)));
     216add_action('widgets_init', function(){return register_widget('widget_TradingView_chat');});
    217217?>
  • wp-tradingview/trunk/inc/class_ideastream.php

    r1559115 r2532172  
    287287}
    288288
    289 add_action('widgets_init', create_function('', register_widget(new widget_TradingView_ideastream)));
     289add_action('widgets_init', function(){return register_widget('widget_TradingView_ideastream');});
    290290
    291291?>
  • wp-tradingview/trunk/inc/class_ideaview.php

    r1559115 r2532172  
    153153    }
    154154}
    155 add_action('widgets_init', create_function('', register_widget(new widget_TradingView_ideaview)));
     155add_action('widgets_init', function(){return register_widget('widget_TradingView_ideaview');});
    156156?>
  • wp-tradingview/trunk/inc/class_profile.php

    r1559115 r2532172  
    176176}
    177177
    178 add_action('widgets_init', create_function('', register_widget(new widget_TradingView_profile)));
     178add_action('widgets_init', function(){return register_widget('widget_TradingView_profile');});
    179179
    180180?>
  • wp-tradingview/trunk/readme.txt

    r1598619 r2532172  
    33Contributors: tradepips
    44Tags: forex, stocks, finance, investment, trading, ideas, tradingview, tradepips, widget, shortcode, pips, lots, margin, tickers, charts, instruments, indicators, trade, yahoo finance, google finance, money, us dollar, eurusd, gbpusd, usdjpy, forex widgets, forex plugin, wordpress forex
    5 Requires at least: 3.5
    6 Tested up to: 4.7.2
    7 Stable tag: 1.5
     5Requires at least: 4.7
     6Tested up to: 5.7.2
     7Stable tag: 1.6
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    4949== Changelog ==
    5050
     51= 1.6 =
     52
     53* Maintenance release
     54* Replaced deprecated create_function with anonymous functions in widget initializations
     55* Fixed minor ('undefined') debug log notices
     56
    5157= 1.5 =
    5258
     
    5965* Profile widget embed code width/height value errors fixed
    6066* Width/height type (px or %) selection bypassed from the display function
    61 
    6267* Removed an erroneous links from embed commodities
    63 
    6468* Updated the tv.js url to the s3.tradingview.com/tv.js
    6569
  • wp-tradingview/trunk/tradingview.php

    r1598648 r2532172  
    44Plugin URI: http://tradepips.com
    55Description: WP Trading View - Display TradingView Profile, TradingView ideas, chat widget or forex / stock charts.
    6 Version: 1.5
     6Version: 1.6
    77Author: Trade Pips
    88Author URI: http://tradepips.com
Note: See TracChangeset for help on using the changeset viewer.