WordPress.org

Ready to get started?Download WordPress

Forums

Image Widget
Filter does not work, because the documentation is incorrect (4 posts)

  1. BjornW
    Member
    Posted 2 years ago #

    Hi,

    I've found another bug in the Image Widget (v3.2.11). This is just a minor thing. In the documentation it states that the widget's html output can be overruled with a custom view.

    This is correct except the filter name should be:

    'sp_template_image-widget_widget.php'

    Instead of the mentioned filter

    'sp_template_image-widget_widget'

    So you need to include the extension '.php' otherwise it will not work. See the corresponding code in image-widget.php around line 293

    http://wordpress.org/extend/plugins/image-widget/

  2. Matt Wiebe
    Member
    Posted 2 years ago #

    Hi Bjorn. Thanks for your patch for the browser uploader issue! I've (finally) applied it.

    The docs should be fixed as well - we'd forgotten to take into account that the locator function automatically adds the .php extension.

  3. BjornW
    Member
    Posted 2 years ago #

    Hi Matt,

    Cool, good to hear. I will update my blogpost to point towards the new version.

  4. BjornW
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic