Allow sorting by rating, fixes #3477. Hat tip: tassoman
git-svn-id: http://svn.automattic.com/wordpress/trunk@4690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5128d39344
commit
e03d63d980
|
@ -87,6 +87,7 @@ $select_order = "<select name=\"order_by\">\n";
|
|||
$select_order .= '<option value="order_id"' . (($order_by == 'order_id') ? " selected='selected'" : '') . '>' . __('Link ID') . "</option>\n";
|
||||
$select_order .= '<option value="order_name"' . (($order_by == 'order_name') ? " selected='selected'" : '') . '>' . __('Name') . "</option>\n";
|
||||
$select_order .= '<option value="order_url"' . (($order_by == 'order_url') ? " selected='selected'" : '') . '>' . __('Address') . "</option>\n";
|
||||
$select_order .= '<option value="order_rating"' . (($order_by == 'order_rating') ? " selected='selected'" : '') . '>' . __('Rating') . "</option>\n";
|
||||
$select_order .= "</select>\n";
|
||||
|
||||
printf(__('Currently showing %1$s links ordered by %2$s'), $select_cat, $select_order);
|
||||
|
|
Loading…
Reference in New Issue