kirki icon indicating copy to clipboard operation
kirki copied to clipboard

Update class-kirki-modules.php to fix bedrock compat

Open Levdbas opened this issue 4 years ago • 0 comments

When using Bedrock the WordPress folders are placed in a /wp/ folder. Using site_url() points to that /wp/ folder. Since this is a hook that we want to call directly to the front-end we need to use home_url() instead.

This fixes the issuse where this hook causes a 404 in the backend:

image

Fixes: https://github.com/kirki-framework/kirki/issues/2365

Levdbas avatar Feb 12 '21 17:02 Levdbas