Skip to content

Conversation

circlecube
Copy link
Member

Proposed changes

This integrates the features module with the patterns module. It will allow users to toggle the feature on/off in the plugin settings. The features module changes the way a module is loaded, replacing the module loader/register method with a feature class and instantiate method which kicks the module off. If it is disabled, the installation will not run. Integrating with the new feature module is a clean way to only load this module code when it is enabled, and wraps everything into a features API that can be used by the plugins (and even other modules). It also allows us to disable the feature in certain scenarios (like on bluehost cloud platform), but still allows the user to enable it.

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@circlecube
Copy link
Member Author

See PRESS1-318 & PRESS1-322

@circlecube circlecube requested a review from wpscholar May 24, 2024 20:35
* main:
  fix: PRESS0-1382 (#75)
  Replace stale links

# Conflicts:
#	composer.lock
@circlecube circlecube merged commit c37f45f into main May 29, 2024
@circlecube circlecube deleted the add/feature-module branch May 29, 2024 15:30
@circlecube circlecube mentioned this pull request May 29, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants