Home>Support>Widget with namespace doesn’t show preview.

Widget with namespace doesn’t show preview.

By epinephrin, 7 years ago. Last reply by Alex S, 7 years ago.

File: so-widgets-bundle/base/inc/actions.php
Function: siteorigin_widget_preview_widget_action()

$_POST[‘class’] – has escaped string – ‘Test\MyWidget’

But $wp_widget_factory->widgets has – ‘TestMyWidget’

Could you please fix this?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 11 months ago Alex S
    Hi, I Work Here

    Hi Epinephrin,

    Would it be possible for you to provide a copy of your test widget so we can run some tests?

  2. 7 years, 11 months ago epinephrin

    Hi Alex,

    https://gist.github.com/epinephrin/9269e2ae0981c0a53bad25c9947babf7

  3. 7 years, 11 months ago Alex S
    Hi, I Work Here

    Hi Epinephrin,

    Thanks! I’ll log this as an issue now.

  4. 7 years, 11 months ago Alex S
    Hi, I Work Here

    Hi Epinephrin,

    Okay, I’ve logged the issue here. If I’ve made a mistake in my explanation please feel free to chime in.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More