Forums

My Link Order
Wordget links order "notes" to "rating" (1 post)

  1. meqia
    Member
    Posted 8 months ago #

    Great plugin, but in the widget, the order "notes" for links do not exists it's "rating". Can you fix it ? thx

    --------------------------------------------
    FIX
    --------------------------------------------
    Line 312 :
    if ( in_array( $new_instance['orderby'], array( 'order', 'name', 'rand', 'ID', 'description', 'length', 'notes', 'owner', 'rel', 'rss', 'target', 'updated', 'url' ) ) ) {
    To :
    if ( in_array( $new_instance['orderby'], array( 'order', 'name', 'rand', 'ID', 'description', 'length', 'rating', 'owner', 'rel', 'rss', 'target', 'updated', 'url' ) ) ) {

    Line 395 :
    <option value="notes"<?php selected( $instance['orderby'], 'notes' ); ?>><?php _e( 'Notes', 'mylinkorder' ); ?></option>
    To :
    <option value="rating"<?php selected( $instance['orderby'], 'rating' ); ?>><?php _e( 'Notes', 'mylinkorder' ); ?></option>
    --------------------------------------------

    Il y a une erreur lors du classement des liens dans le widget. La liste de sélection propose de trier les liens par "notes" alors que le terme exact est "rating". Le tri ne s'effectue donc pas correctement.

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

Reply

You must log in to post.

About this Plugin

About this Topic