BUG: site_url() used when there should be home_url()
-
In
wordpress-social-login/includes/widgets/wsl.error.pages.php
1. Replace site_url() with home_url(). Site URL points to WordPress, which can be in a folder.
2. Better version, with better English (“back to home”?!!!) and proper escaping would be:
<a href="<?php echo esc_url( home_url() ); ?>" style="float:left">⟵ <?php _wsl_e("Back to ", 'wordpress-social-login') ?> <?php echo esc_url( home_url() ); ?></a>
- The topic ‘BUG: site_url() used when there should be home_url()’ is closed to new replies.