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

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"';