BenSibley / Period

Period WordPress Theme
https://www.competethemes.com/period/
5 stars 1 forks source link

site_url() in theme-options.php causes a problem #1

Closed barisunver closed 7 years ago

barisunver commented 7 years ago

Two instances of $customizer_url include the site_url() function (first one in line 12 of theme-options.php, second one in line 157 of Period Pro plugin's period-pro.php) causes a small problem of the Customizer opening with the URL that WordPress is installed in (e.g. "example.com/wp/"), and not the homepage (e.g. "example.com").

The solution is simple: Use home_url() instead of site_url().

BenSibley commented 7 years ago

Ah good catch, thanks!

barisunver commented 7 years ago

Don't mention it 👍