Skip to content

Commit

Permalink
Fix bug causing incorrect Type value when editing alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
JJJ committed Dec 7, 2016
1 parent 529cff9 commit 770191c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-site-aliases/includes/functions/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ function wp_site_aliases_output_edit_page() {
foreach ( $types as $type ) :

// Output type
?><option value="<?php echo esc_attr( $type->id ); ?>" <?php selected( $type->id, $alias->status ); ?>><?php echo esc_html( $type->name ); ?></option><?php
?><option value="<?php echo esc_attr( $type->id ); ?>" <?php selected( $type->id, $alias->type ); ?>><?php echo esc_html( $type->name ); ?></option><?php

endforeach;

Expand Down

0 comments on commit 770191c

Please sign in to comment.