WordPress.org

Forums

My Link Order
[resolved] [Small Bug+fix] typo in order_by variable (4 posts)

  1. jrf
    Member
    Posted 2 years ago #

    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/

  2. jrf
    Member
    Posted 2 years ago #

    Just upgraded to v3.5. Issues still present. Would at nice to see this fixed in the plugin core....

  3. froman118
    Member
    Plugin Author

    Posted 2 years ago #

    Slipped in a change to the existing 3.5 version of plugin.

  4. jrf
    Member
    Posted 2 years ago #

    Excellent! Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • My Link Order
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic