WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: My Link Order] [Small Bug fix] typo in order_by variable

[Resolved] [Plugin: My Link Order] [Small Bug fix] typo in order_by variable

  • jrf
    Participant

    @jrf

    Hiya Andrew,

    Been using your plugin for a while now. Great work!

    I noticed the other day though that the plugin was generating error notices on the admin site. It turned out to be a small typo _orderby instead of orderby.

    Please find the fix below and I hope you’ll incorporate it in the next release 😉

    Line 339:

    $instance = wp_parse_args( (array) $instance, array( 'categorize' => '','category' => '', 'category_orderby' => 'order', 'category_order' => 'asc', '_orderby' => 'order', 'order' => 'asc', 'exclude' => '', 'exclude_category' => '', 'include' => '', 'limit' => '', 'title_li' => '', 'link_before' => '', 'link_after' => '', 'between' => '', 'show_images' => '', 'show_description' => '', 'show_name' => '', 'show_rating' => '', 'show_updated' => '', 'hide_invisible' => '' ) );

    replace with:

    $instance = wp_parse_args( (array) $instance, array( 'categorize' => '','category' => '', 'category_orderby' => 'order', 'category_order' => 'asc', '<strong>orderby</strong>' => 'order', 'order' => 'asc', 'exclude' => '', 'exclude_category' => '', 'include' => '', 'limit' => '', 'title_li' => '', 'link_before' => '', 'link_after' => '', 'between' => '', 'show_images' => '', 'show_description' => '', 'show_name' => '', 'show_rating' => '', 'show_updated' => '', 'hide_invisible' => '' ) );

    Hope this helps & keep up the good work!

    Smile,
    Juliette

    http://wordpress.org/extend/plugins/my-link-order/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: My Link Order] [Small Bug fix] typo in order_by variable’ is closed to new replies.