Skip to content

fix require plugin path #141

Closed
matjack1 opened this Issue Jun 5, 2013 · 5 comments

3 participants

@matjack1
weLaika member
matjack1 commented Jun 5, 2013

sorry for being late on the #139 but we'd change the

return self::join_paths(WP_CONTENT, 'plugins', 'wordless')

with

return self::join_paths(plugin_dir_path(__FILE__))

so we can decouple the plugin path from the code. It has to be tested though.

@pioneerskies pioneerskies was assigned Jun 5, 2013
@pioneerskies
weLaika member

I think you'd want to say

return plugin_dir_path(__FILE__)

even to test if __FILE__ is the right choice or if wordless.php would be.

Isn't it?

@pioneerskies
weLaika member

Bump @matjack1

@matjack1
weLaika member

sorry, missed your reply!

i think that FILE IS wordless.php, since the wordless.php file will require everything else, we still have to try

@delphaber
weLaika member

So.. I've decided to remove plugin_path because was unused.

@delphaber delphaber closed this Oct 9, 2014
@matjack1
weLaika member

:gun:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.