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

SIT-2708:Update to save the response as a post meta field #253

Merged

Conversation

oscarssanchez
Copy link
Contributor

@oscarssanchez oscarssanchez commented Apr 27, 2022

Description of the Change

This PR will build from the work from Ramon. This changes the approach from saving the Sophi data into the options table to saving the data into post meta, adding a new "upgrader" function and hook to deal with previous installations of the plugin that update to the latest version.

We might also want to write in the documentation having object caching is encouraged, as we are saving the Sophi data as a transient. If a client does not have object cache the data will be saved as a transient in the options table, though these will eventually expire.

Closes #

Alternate Designs

Possible Drawbacks

Verification Process

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Changelog Entry

Credits

Props @

@jeffpaul jeffpaul added this to the 1.0.15 milestone Apr 27, 2022
@oscarssanchez oscarssanchez changed the title WIP: Update to save the response as a post meta field Update to save the response as a post meta field Apr 27, 2022
felipeelia
felipeelia previously approved these changes May 3, 2022
@jeffpaul jeffpaul modified the milestones: 1.0.15, 1.0.14 May 3, 2022
…f github.com:globeandmail/sophi-for-wordpress into feature/save-sophi-responses-as-meta-fields-sit-2708
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@felipeelia felipeelia self-requested a review May 3, 2022 20:35
@oscarssanchez oscarssanchez merged commit ecb5c3b into develop May 3, 2022
@oscarssanchez oscarssanchez deleted the feature/save-sophi-responses-as-meta-fields-sit-2708 branch May 3, 2022 20:38
@jeffpaul jeffpaul changed the title Update to save the response as a post meta field SIT-2708:Update to save the response as a post meta field May 16, 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.

4 participants