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

Code cleanup #14

Open
cagrimmett opened this issue Dec 5, 2023 · 0 comments
Open

Code cleanup #14

cagrimmett opened this issue Dec 5, 2023 · 0 comments

Comments

@cagrimmett
Copy link
Contributor

  1. Make these values one per line https://github.com/a8cteam51/divi-migration-tools/blob/trunk/cli/class-divi-shortcode-migration.php#L16-L18
  2. The revert command just copies the result of get post meta back into post content -- but there is no check for making sure there /was/ something there to rewind to, so it could inadvertently just purge content if the old meta wasn't there.
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

No branches or pull requests

1 participant