diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php
index 663bce049c..0397e044e2 100644
a
|
b
|
function link_advanced_meta_box( $link ) { |
1364 | 1364 | <th scope="row"><label for="link_rating"><?php _e( 'Rating' ); ?></label></th> |
1365 | 1365 | <td><select name="link_rating" id="link_rating" size="1"> |
1366 | 1366 | <?php |
1367 | | for ( $parsed_args = 0; $parsed_args <= 10; $parsed_args++ ) { |
1368 | | echo '<option value="' . $parsed_args . '"'; |
1369 | | if ( isset( $link->link_rating ) && $link->link_rating == $parsed_args ) { |
| 1367 | for ( $rating = 0; $rating <= 10; $rating++ ) { |
| 1368 | echo '<option value="' . $rating . '"'; |
| 1369 | if ( isset( $link->link_rating ) && $link->link_rating == $rating ) { |
1370 | 1370 | echo ' selected="selected"'; |
1371 | 1371 | } |
1372 | | echo( '>' . $parsed_args . '</option>' ); |
| 1372 | echo( '>' . $rating . '</option>' ); |
1373 | 1373 | } |
1374 | 1374 | ?> |
1375 | 1375 | </select> <?php _e( '(Leave at 0 for no rating.)' ); ?> |