Allow link rating of 10. Props ProDevStudio. fixes #11165

git-svn-id: https://develop.svn.wordpress.org/trunk@12233 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-11-19 23:07:53 +00:00
parent 4f7906aced
commit 115e5e33fb
1 changed files with 1 additions and 1 deletions

View File

@ -801,7 +801,7 @@ function link_advanced_meta_box($link) {
<th valign="top" scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th>
<td><select name="link_rating" id="link_rating" size="1">
<?php
for ($r = 0; $r < 10; $r++) {
for ($r = 0; $r <= 10; $r++) {
echo(' <option value="'. esc_attr($r) .'" ');
if ( isset($link->link_rating) && $link->link_rating == $r)
echo 'selected="selected"';