Skip to content

Issue with makrdown file path stored in post meta #4

@mrrobot47

Description

@mrrobot47

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:

wp search-replace '/var/www/htdocs/wp-content/plugins/ee-markdown-importer/' '/var/www/htdocs/current/wp-content/plugins/wp-ee-docs-command/' --url=<site-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=<site-url>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions