Plugin Directory

Changeset 1240945


Ignore:
Timestamp:
09/08/2015 08:15:38 PM (11 years ago)
Author:
fristopher
Message:

fixed widget depreciated issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • creative-market/trunk/inc/widget.php

    r880473 r1240945  
    1717        $widget_ops = array( 'classname' => $this->widget_cssclass, 'description' => $this->widget_description );
    1818
    19         $this->WP_Widget('creativemarket_widget', $this->widget_name, $widget_ops);
     19        parent::__construct('creativemarket_widget', $this->widget_name, $widget_ops);
    2020
    2121        add_action( 'save_post', array(&$this, 'flush_widget_cache') );
Note: See TracChangeset for help on using the changeset viewer.