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:
parent
4f7906aced
commit
115e5e33fb
@ -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"';
|
||||
|
Loading…
Reference in New Issue
Block a user