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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-11-19 23:07:53 +00:00
parent 48b9a9f2bb
commit 1e2349258f
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> <th valign="top" scope="row"><label for="link_rating"><?php _e('Rating') ?></label></th>
<td><select name="link_rating" id="link_rating" size="1"> <td><select name="link_rating" id="link_rating" size="1">
<?php <?php
for ($r = 0; $r < 10; $r++) { for ($r = 0; $r <= 10; $r++) {
echo(' <option value="'. esc_attr($r) .'" '); echo(' <option value="'. esc_attr($r) .'" ');
if ( isset($link->link_rating) && $link->link_rating == $r) if ( isset($link->link_rating) && $link->link_rating == $r)
echo 'selected="selected"'; echo 'selected="selected"';