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

Widget with namespace doesn’t show preview.

By epinephrin, 8 years ago. Last reply by Alex S, 8 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. 8 years, 9 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. 8 years, 9 months ago epinephrin

    Hi Alex,

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

  3. 8 years, 9 months ago Alex S
    Hi, I Work Here

    Hi Epinephrin,

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

  4. 8 years, 9 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