You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Migrator.php on line 127 you run a loop with the following condition:
basename( $base_path ) != 'vendor'
The name of the vendor-directory is configurable in the composer.json. If that is configured there, this while-loop runs infinitely. Might it not be better to simply use WP_CONTENT_DIR instead?
The function should (in my opinion) look like this:
In
Migrator.php
on line 127 you run a loop with the following condition:The name of the vendor-directory is configurable in the composer.json. If that is configured there, this while-loop runs infinitely. Might it not be better to simply use
WP_CONTENT_DIR
instead?The function should (in my opinion) look like this:
This way it's getting the correct migrations-path correctly, independent of the project-structure.
Thanks in advance,
David
The text was updated successfully, but these errors were encountered: