• Resolved andreacazzola90

    (@andreacazzola90)


    hi, in your code you use ABSPATH to link the external source.
    In bedrock(Trellis) you can’t use it,
    i edited your code in my plugin:
    BEFORE
    $file = ABSPATH . $file;
    AFTER
    $file = WP_CONTENT_DIR . ‘/’ . $file;

Viewing 1 replies (of 1 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    That changes the behavior of the code, I cannot make such a change.

    If in bedrock abspath is not defined, it would be more safe to define it.

    Stefano.

Viewing 1 replies (of 1 total)
  • The topic ‘I can’t use it with bedrock’ is closed to new replies.