Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
fix(admin-settings): correct variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrutjes committed Oct 31, 2017
1 parent 170ee9b commit ca6ca62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/class-algolia-admin-page-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function index_name_prefix_callback() {
$index_name_prefix = $settings->get_index_name_prefix();
$disabled_html = $settings->is_index_name_prefix_in_config() ? ' disabled' : '';
?>
<input type="text" name="algolia_index_name_prefix" value="<?php echo esc_attr( $setting ); ?>" <?php echo esc_html( $disabled_html ); ?>/>
<input type="text" name="algolia_index_name_prefix" value="<?php echo esc_attr( $index_name_prefix ); ?>" <?php echo esc_html( $disabled_html ); ?>/>
<p class="description" id="home-description"><?php esc_html_e( 'This prefix will be prepended to your index names.', 'algolia' ); ?></p>
<?php
}
Expand Down

0 comments on commit ca6ca62

Please sign in to comment.