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

Settings file generation #251

Closed
wants to merge 3 commits into from
Closed

Conversation

naxvog
Copy link
Collaborator

@naxvog naxvog commented Aug 16, 2020

I am proposing a settings file located at WP_CONTENT_DIR . '/redis_object_cache/settings.php defining the location of the plugin (and potentially a basic configuration as per #173).

This change makes it possible to de-clutter the drop-in by splitting the cache function and class definitions into their respective files in the includes directory.

@tillkruss
Copy link
Member

We'll have to rebase after #246 is merged, this before I can review it.

@naxvog
Copy link
Collaborator Author

naxvog commented Aug 18, 2020

We'll have to rebase after #246 is merged, this before I can review it.

done

@naxvog naxvog closed this Aug 18, 2020
@tillkruss tillkruss reopened this Aug 18, 2020
@naxvog naxvog mentioned this pull request Aug 25, 2020
@tillkruss
Copy link
Member

@naxvog: Can you revert touching the object-cache.php file and just stick to settings file changes?

@naxvog
Copy link
Collaborator Author

naxvog commented Sep 10, 2020

Well if I decouple the settings file generation there would not be any functionality or benefit left. The whole thing exists to allow for WP_REDIS_PLUGIN_PATH to be defined before any plugin is loaded and therefore load the cache functions as well as the class from the plugin directory.
How about tagging this for the next feature release 2.1?

@tillkruss
Copy link
Member

Closing this for now. Open to pull requests.

@tillkruss tillkruss closed this Jul 20, 2022
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.

2 participants