Skip to content

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

Open
@xandros15

Description

@xandros15

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions