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:
parent
48b9a9f2bb
commit
1e2349258f
|
@ -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"';
|
||||||
|
|
Loading…
Reference in New Issue