EasyEngine / EasyEngine/wp-ee-docs-command

Issue with makrdown file path stored in post meta

Abierto
#4 0 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
PHP
Estrellas
0
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.