EasyEngine / EasyEngine/wp-ee-docs-command

Issue with makrdown file path stored in post meta

Offen
#4 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
0
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.