EasyEngine / EasyEngine/wp-ee-docs-command

Issue with makrdown file path stored in post meta

Ouverte
#4 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
PHP
Étoiles
0
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

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=
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.