-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
CRM-17633 WIP Changes to support WP in it's own directory … #105
Conversation
dependency- civicrm/civicrm-core#9106 |
@kcristiano Thanks for working on this. I have a couple of queries:
Cheers, Christian |
@christianwach Thanks for the feedback.
I worked yesterday on all edge cases - changing uploads folder, changing plugins folder and did not even attempt to change wp-admin. I think we need to draw a line and decide what we can support. The possible permutations are causing issues - mostly from 'extern' calls and when the CMS is not boostrapped.
Perhaps I am getting 'testing blind' over this - so if you see a way to improve that would be great. |
@kcristiano thanks for clarifying. If that's the case, then my only request would be for more documentation - I'm unclear where the various constants are set (or could be set) so it would be really helpful to leave some breadcrumbs for developers in the respective method docblocks. Cheers, Christian |
@christianwach added a docblock - I also updated https://wiki.civicrm.org/confluence/display/CRM/WordPress+installed+in+its+own+directory+issues with all the testing I have done. The next step is fixing the installer to handle this and more testing. We will need to update README.md and readme.txt to cover these changes. |
I tested this and it worked for me! |
jenkins test this please |
civicrm/civicrm-core#10214 is dependent on this PR |
CRM-16421 - Convert constants to `$civicrm_paths`
@totten tested and merged your improvements. Works fine. Would like this in early in an RC cycle to get more eyes/hands on the rela world testing. |
civicrm/civicrm-core#11031 is now the matching PR in civicrm-core |
I tested this pr and civicrm/civicrm-core#11031 on a wordpress install with wordpress in the root site directory and with wordpress in its own directory and did not get any issues regarding directories or resource urls. |
Merging per related PR #11031 |
… Replaced #103