Support » Plugin: Really Simple Gallery Widget » Please update plugin to use PHP 5 style constructors

  • This is a handy little plugin and it just needs a little love to get it to conform with the coding standards established by WordPress v4.3.

    Until then, I guess I will do the unthinkable :-p and modify the plugin directly: (RSG Version: 1.3)

    Line 14 before:
    function RSGWidget() {
    
    Line 14 after:
    function __construct() {
    
    Line 21 before:
    $this->WP_Widget( 'RSGWidget', __('Really Simple Gallery Widget', 'rsg-widget' ), $widget_ops );
    
    Line 21 after:
    parent::__construct( 'RSGWidget', __('Really Simple Gallery Widget', 'rsg-widget' ), $widget_ops );

    Thanks!

    https://wordpress.org/plugins/really-simple-gallery-widget/

  • The topic ‘Please update plugin to use PHP 5 style constructors’ is closed to new replies.