Skip to content

Commit

Permalink
fix issue with unpassed vars
Browse files Browse the repository at this point in the history
  • Loading branch information
samnajian committed Jun 20, 2016
1 parent 1c88a82 commit 5814e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app_old/membershipincludes/addons/member.widget.php
Expand Up @@ -8,7 +8,7 @@

class membershipleveltext extends WP_Widget {

function __construct($id_base, $name, $widget_options = array(), $control_options = array()) {
function __construct() {
$locale = apply_filters( 'membership_locale', get_locale() );
$mofile = membership_dir( "membershipincludes/languages/membership-$locale.mo" );

Expand Down Expand Up @@ -144,7 +144,7 @@ function form( $instance ) {

class membershipsubtext extends WP_Widget {

function __construct( $id_base, $name, $widget_options = array(), $control_options = array() ) {
function __construct() {
$locale = apply_filters( 'membership_locale', get_locale() );
$mofile = membership_dir( "membershipincludes/languages/membership-$locale.mo" );

Expand Down

0 comments on commit 5814e2e

Please sign in to comment.