Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass_core_to_widgets no load core if $current_core has double // #170

Open
xandros15 opened this issue Apr 13, 2017 · 0 comments
Open

pass_core_to_widgets no load core if $current_core has double // #170

xandros15 opened this issue Apr 13, 2017 · 0 comments

Comments

@xandros15
Copy link

xandros15 commented Apr 13, 2017

Context method: https://github.com/CherryFramework/cherry-framework/blob/master/modules/cherry-widget-factory/cherry-widget-factory.php#L79

My web service provider makes my $current_core looks like that: //wp-content/themes/mytheme/cherry-framework/.
The $path is /wp-content/themes/mytheme/cherry-framework/modules/cherry-widget-factory/inc.
There is no way, to get other result than false from strpos. Ofc, I can add filter on template_directory to fix my get_template_directory();, but I guess is just bad implementation in your code too.

Best Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant