Skip to content
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

CRM16421 CRM 17633: Changes to support WP in it's own directory. Allo… #10214

Closed
wants to merge 5 commits into from

Conversation

kcristiano
Copy link
Member

…w for civicrn.settings.extra.php for WP. Create template for civicrm.settings.extra.php. Update install/civicrm.php for all needed params for different common install scenarios. Fix linting issues in civicrm.php.

CRM 16421 CRM 17633 - update CRM_Utils_System_WordPress to allow for common install configurations

Replaces #9106

…w for civicrn.settings.extra.php for WP. Create template for civicrm.settings.extra.php. Update install/civicrm.php for all needed params for different common install scenarios. Fix linting issues in civicrm.php.

CRM 16421 CRM 17633 - update CRM_Utils_System_WordPress to allow for common install configurations
@kcristiano
Copy link
Member Author

Please see details on #9106

@kcristiano
Copy link
Member Author

This requires civicrm/civicrm-wordpress#105

totten and others added 3 commits June 23, 2017 19:02
Following up on the discussion from
[civicrm#10513](civicrm#10513), this converts
the proposed constants `CIVICRM_UF_WP_BASEURL` and `CIVICRM_UF_ADMINURL` to
variables in the `Paths` system.

A few benefits:
 * Reduces code duplication between `civicrm.php` and `WordPress.php`.
 * Can construct sub-paths with prettier notation (`Civi::paths()->getUrl('[wp.frontend]/foo.txt')`)
 * Has options to output relative or absolute URLs
 * Can expand on `Paths` to provide more inspection/validation

Notes:

 * `CIVICRM_UF_WP_BASEURL` => `wp.frontend.base`
 * `CIVICRM_UF_ADMINURL` => `wp.backend.base`

----------------------------------------
* CRM-16421: Work to get CiviCRM for WordPress in WordPress' official Repository
  https://issues.civicrm.org/jira/browse/CRM-16421
…tings.php`

----------------------------------------
* CRM-16421: Work to get CiviCRM for WordPress in WordPress' official Repository
  https://issues.civicrm.org/jira/browse/CRM-16421
CRM-16421 - Convert constants to `$civicrm_paths`
@kcristiano
Copy link
Member Author

@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.

@kcristiano
Copy link
Member Author

@totten test failure appears unrelated. Can you confirm?

@kcristiano
Copy link
Member Author

test this please

@eileenmcnaughton
Copy link
Contributor

test this please

@eileenmcnaughton
Copy link
Contributor

@totten @kcristiano this appears to have been worked on and broadly agreed. Can you reconfirm & we could plan to merge at the end of the week?

@kcristiano
Copy link
Member Author

@eileenmcnaughton I can confirm that this is ready for merge (in my opinion). There is the related patch for the wordpress repo - civicrm/civicrm-wordpress#105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants