Skip to content

Commit

Permalink
Fix an issue where custom purge url option does not show newlines whe…
Browse files Browse the repository at this point in the history
…n using multiple urls

See #184
  • Loading branch information
chandrapatel committed Mar 5, 2019
1 parent 377c2c1 commit df94a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/partials/nginx-helper-general-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@
<h4><?php esc_html_e( 'Custom Purge URL:', 'nginx-helper' ); ?></h4>
</th>
<td>
<textarea rows="5"class="rt-purge_url" id="purge_url" name="purge_url"><?php echo esc_url( $nginx_helper_admin->options['purge_url'] ); ?></textarea>
<textarea rows="5"class="rt-purge_url" id="purge_url" name="purge_url"><?php echo esc_textarea( $nginx_helper_admin->options['purge_url'] ); ?></textarea>
<p class="description">
Add one URL per line. URL should not contain domain name.
<br>
Expand Down

0 comments on commit df94a26

Please sign in to comment.