EasyEngine / EasyEngine/wp-ee-docs-command
Issue with makrdown file path stored in post meta
- Dominant language
- PHP
- Stars
- 0
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
As the complete path of markdown files to be imported gets stored in post meta. It causes an issue if:
1. The absolute path to the plugin folder then changes.
2. Name of the plugin changes.
Both of these issue happened in our case.
Had to run the following search-replace commands to fix this:
```bash
wp search-replace '/var/www/htdocs/wp-content/plugins/ee-markdown-importer/' '/var/www/htdocs/current/wp-content/plugins/wp-ee-docs-command/' --url=
wp search-replace '/var/www/htdocs/wp-content/plugins/wp-ee-docs-command/' '/var/www/htdocs/current/wp-content/plugins/wp-ee-docs-command/' --url=
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.