Support » Plugin: Widget CSS Classes » Callback no longer works with get_opiton

  • Resolved stedko

    (@stedko)


    Hi there, I wasn’t be able to get it work without changing the widget-css-classes.php at line 180-184 to this: (original_callback instead of callback)

    			if ( isset( $custom_sidebarcheck[0] ) && ( $custom_sidebarcheck[0] == 'yes' ) ) {
    				$widget_opt = get_option( 'widget_'.$id.'_'.substr($widget_obj['original_callback'][0]->option_name, 7) );
    			} elseif ( isset( $widget_obj['original_callback'][0]->option_name ) ) {
    				$widget_opt = get_option( $widget_obj['original_callback'][0]->option_name );
    			}
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Cindy Kendrick

    (@elusivelight)

    Thanks for the report. I will look into that soon.

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @stedko,

    Could you provide me with more info about your installation? It can be that another plugin changes the callback method so I’d like to test this.

    Regards, Jory

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Callback no longer works with get_opiton’ is closed to new replies.